diff options
author | 2011-01-13 23:40:55 -0500 | |
---|---|---|
committer | 2011-01-13 23:40:55 -0500 | |
commit | 5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057 (patch) | |
tree | 4ed61d5f00624d02932a5a4adbf79087e96935fd /core | |
parent | 238ea9f6743bcd6d76db40511396b676520263dd (diff) | |
download | textadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.tar.gz textadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.zip |
More informative check_focused_buffer() error message.
Diffstat (limited to 'core')
-rw-r--r-- | core/gui.lua | 2 | ||||
-rw-r--r-- | core/locale.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/gui.lua b/core/gui.lua index 3418e5ea..ee0daafe 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -8,7 +8,7 @@ function gui.check_focused_buffer(buffer) if type(buffer) ~= 'table' or not buffer.doc_pointer then error(L('Buffer argument expected.'), 2) elseif gui.focused_doc_pointer ~= buffer.doc_pointer then - error(L('The indexed buffer is not the focused one.'), 2) + error(L('This buffer is not the current one.'), 2) end end diff --git a/core/locale.conf b/core/locale.conf index fe97a16d..0ac77d6c 100644 --- a/core/locale.conf +++ b/core/locale.conf @@ -44,7 +44,7 @@ has been modified. Reload it? = has been modified. Reload it? % core/gui.lua Buffer argument expected. = Buffer argument expected. -The indexed buffer is not the focused one. = The indexed buffer is not the focused one. +This buffer is not the current one. = This buffer is not the current one. Switch Buffers = Switch Buffers Search wrapped = Search wrapped |