diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/mlines.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/textadept/mlines.lua b/modules/textadept/mlines.lua index 512834de..48059a64 100644 --- a/modules/textadept/mlines.lua +++ b/modules/textadept/mlines.lua @@ -106,6 +106,7 @@ function update() local buffer = buffer local curr_line = buffer:line_from_position(buffer.current_pos) local curr_col = buffer.column[buffer.current_pos] + buffer:begin_undo_action() if mlines[curr_line] then local s = buffer:find_column( curr_line, mlines[curr_line].start_col ) local e = buffer:find_column(curr_line, curr_col) @@ -131,4 +132,5 @@ function update() end mlines[curr_line].start_col = curr_col end + buffer:end_undo_action() end |