Browse Source

Remove text selection on Home/End press with no Shift

Arthur Yefimov 3 năm trước cách đây
mục cha
commit
78b461dd9f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Editor.Mod

+ 1 - 0
src/Editor.Mod

@@ -855,6 +855,7 @@ BEGIN
       ELSE c.text.selL := 0 END
       ELSE c.text.selL := 0 END
     END;
     END;
     IF c.text.selT = c.text.selB THEN Order(c.text.selL, c.text.selR) END
     IF c.text.selT = c.text.selB THEN Order(c.text.selL, c.text.selR) END
+  ELSE c.text.selected := FALSE
   END;
   END;
   IF end THEN
   IF end THEN
     IF c.text.x < c.text.cur.len THEN c.text.x := c.text.cur.len END
     IF c.text.x < c.text.cur.len THEN c.text.x := c.text.cur.len END