diff options
author | 2013-04-25 09:34:01 -0400 | |
---|---|---|
committer | 2013-04-25 09:34:01 -0400 | |
commit | 02a014c3d865ce5a426d2fd0f69c801b7f5a0fc0 (patch) | |
tree | 5f51c20606a3cd81312237f305f3fe8845598e26 /modules/textadept/editing.lua | |
parent | cb57c684e1fb68ac8b4fc9c26a33bce603265eba (diff) | |
download | textadept-02a014c3d865ce5a426d2fd0f69c801b7f5a0fc0.tar.gz textadept-02a014c3d865ce5a426d2fd0f69c801b7f5a0fc0.zip |
Code and documentation cleanup.
Diffstat (limited to '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 2be18168..eb9aa8c5 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -344,7 +344,7 @@ function M.transpose_chars() if eol then pos = pos - 1 end buffer.target_start, buffer.target_end = pos - 1, pos + 1 buffer:replace_target(buffer:text_range(pos - 1, pos + 1):reverse()) - buffer:goto_pos(not eol and pos or pos + 1) + buffer:goto_pos(pos + 1) end --- |