diff options
author | 2007-11-16 15:19:00 -0500 | |
---|---|---|
committer | 2007-11-16 15:19:00 -0500 | |
commit | e41d14b9f3b74018278f63bf7ca71316a1b36838 (patch) | |
tree | ae90cea800dfb5a4a07a5af70827c8bb5dbbdafb | |
parent | 266867f56f6932d5879c3e3ed790ba48caab2a4d (diff) | |
download | textadept-e41d14b9f3b74018278f63bf7ca71316a1b36838.tar.gz textadept-e41d14b9f3b74018278f63bf7ca71316a1b36838.zip |
Fixed assertion error caused by replace_target; modules/textadept/editing.lua
-rw-r--r-- | modules/textadept/editing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index ac9037da..4c5b1044 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -248,7 +248,7 @@ function prepare_for_save() end if i < e - 1 then buffer.target_start, buffer.target_end = i + 1, e - buffer:replace_target() + buffer:replace_target('') end end -- Ensure ending newline. |