diff options
author | 2009-08-03 16:47:44 -0400 | |
---|---|---|
committer | 2009-08-03 16:47:44 -0400 | |
commit | bfabeb89db838bd9829c801bdd261fd3e6d05ca7 (patch) | |
tree | 2a0918219767907d46ab0592788959bffde1439b | |
parent | 40344c94c79f47a66bff025d71ee5451cf7b5a1d (diff) | |
download | textadept-bfabeb89db838bd9829c801bdd261fd3e6d05ca7.tar.gz textadept-bfabeb89db838bd9829c801bdd261fd3e6d05ca7.zip |
Fixed bug with reloading PM width from session; modules/textadept/session.lua
-rw-r--r-- | modules/textadept/session.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index ba98a728..dd737cb5 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -72,7 +72,7 @@ function load(filename, only_pm) local width, height = line:match('^size: (%d+) (%d+)$') if width and height then textadept.size = { width, height } end elseif line:find('^pm:') then - local width, cursor, text = line:match('^pm: (%d+) ([%d:]+) (.+)$') + local width, cursor, text = line:match('^pm: (%d+) ([%d:]+) (.*)$') textadept.pm.width = width or 0 textadept.pm.entry_text = text or '' textadept.pm.activate() |