diff options
author | 2012-09-28 15:27:10 -0400 | |
---|---|---|
committer | 2012-09-28 15:27:10 -0400 | |
commit | ea4775ceb5fdddcdcf533d705ee3880da2cd0997 (patch) | |
tree | 60c9bd6666493d5382088f179948e2bcad96f013 /doc/06_AdeptEditing.md | |
parent | a63c51c8df090726c654b239d15568a6d54b9c06 (diff) | |
download | textadept-ea4775ceb5fdddcdcf533d705ee3880da2cd0997.tar.gz textadept-ea4775ceb5fdddcdcf533d705ee3880da2cd0997.zip |
Added marks for making selection in ncurses.
Even though the implementation uses a new `MODIFIED` event, it is left
undocumented because it will likely never be a full implementation of
SCN_MODIFIED.
Diffstat (limited to 'doc/06_AdeptEditing.md')
-rw-r--r-- | doc/06_AdeptEditing.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/06_AdeptEditing.md b/doc/06_AdeptEditing.md index 8ae6ae6e..e71b82a8 100644 --- a/doc/06_AdeptEditing.md +++ b/doc/06_AdeptEditing.md @@ -83,6 +83,20 @@ a `""` sequence. Typing `Ctrl++` (`^+` | `M-+`) as a follow-up selects the double-quotes too. See the `Edit -> Select In...` menu for available entities and their key bindings. +### Marks + +In ncurses, since some terminals do not recognize certain key commands like +`Shift+Arrow` for making selections, you can use marks to create selections. +Create a mark at the current caret position with `^^`. Then use regular movement +keys like the arrows, page up/down, and home/end to extend the selection in one +direction. Pressing `^]` swaps the current caret position with the original mark +position so you can extend the selection in the opposite direction. Any time you +type text, delete text, or run a command that does either, the mark is removed +and ordinary navigation is restored. You can also press `^^` again to stop +selecting text. + +Marks are only supported in ncurses. + ### Transforms #### Enclose Entities |