diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-12-09 02:46:34 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-12-09 02:46:34 +0100 |
commit | 613e8c91f082ca3cb64aa10063d3254100deac84 (patch) | |
tree | da8d470f9e77d33a3b80de620b35d568d5239f36 /doc/sciteco.7.template | |
parent | 52ecff415770da4aeb4041d1308d13933dfc8801 (diff) | |
download | sciteco-613e8c91f082ca3cb64aa10063d3254100deac84.tar.gz |
Curses: support cycling through long lists of possible auto-completions and optimized screen refreshing/redrawing
* pressing e.g. TAB when the popup is showing a list of auto-completions
will show the next page, eventually beginning at the first one again.
* do not redraw curses windows in the UI methods directly. this resulted
in flickering during command-line editing macros and ordinary macro calls
because the physical screen was updated immediately.
Instead, window refreshing and updated is done centrally in
event_loop_iter() only after a key has been processed.
Also we use wnoutrefresh() and doupdate() to send as little to the
terminal (emulator) as possible.
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r-- | doc/sciteco.7.template | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index bad98cc..d5ef0a9 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -365,8 +365,16 @@ so in a manner similar to Posix shells. Upon first invocation they try to fully or partially complete the file name (or token). If no completion can be performed, the invocation will display a -list of file names (or tokens) beginning with the token to complete +list of file names (or tokens) that begin with the token to complete in \*(ST's popup area. +If the popup area is not large enough to display all possible +completions, this is highlighted by the user interface either +by showing an ellipsis (\(lq...\(rq) in the bottom right corner +of the popup area or by its scrollbars. +If the immediate editing command is invoked again, the next page +of file names or tokens is displayed in the popup area. +I.e. it is possible to cycle through long lists of possible +auto-completions. .LP When completing file names, hidden files are not considered for completion unless a prefix of the hidden file's name has already |