aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/editing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/editing.lua')
-rw-r--r--modules/textadept/editing.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index ed2d6d0f..53667311 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -159,6 +159,7 @@ end)
-- Moves over typeover characters when typed.
events.connect(events.KEYPRESS, function(code)
if M.typeover_chars and M.typeover_chars[code] and
+ buffer.selection_start == buffer.selection_end and
buffer.char_at[buffer.current_pos] == code then
buffer:char_right()
return true