diff options
author | 2015-02-23 12:04:55 -0500 | |
---|---|---|
committer | 2015-02-23 12:04:55 -0500 | |
commit | 7bc3fe85ab0930be30996927adae54764d91375e (patch) | |
tree | f8b50be011e4e30172781f3aa421060fd6e0394e | |
parent | 821714fe5ab35785d35f6354c9c192e60ac84693 (diff) | |
download | textadept-7bc3fe85ab0930be30996927adae54764d91375e.tar.gz textadept-7bc3fe85ab0930be30996927adae54764d91375e.zip |
Fixed bug in previous commit when switching to new buffer; core/ui.lua
-rw-r--r-- | core/ui.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ui.lua b/core/ui.lua index de8bb10b..6f42715c 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -389,6 +389,7 @@ events_connect(events.VIEW_BEFORE_SWITCH, save_view_state) -- Restore view state. local function restore_view_state() local buffer = buffer + if not buffer._view_eol then return end buffer.view_eol, buffer.view_ws = buffer._view_eol, buffer._view_ws buffer.wrap_mode = buffer._wrap_mode for i = 0, 4 do |