diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-07-15 04:36:08 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-07-15 05:32:53 +0200 |
commit | 8baae7579973b755b47250742d9a1a94795ae1bb (patch) | |
tree | 91f156d0d7c94a17f0b1e708801b3b5ebbe6edec /doc/sciteco.7.template | |
parent | ea9989266dcb64025ed90d0113ed7c052d07cc34 (diff) | |
download | sciteco-8baae7579973b755b47250742d9a1a94795ae1bb.tar.gz |
Curses UI: revised popup area, with borders and a scroll bar; reduce flickering
* InterfaceCurses::Popup has been turned into a proper class.
This made sense since it is more complicated now and allows
us to isolate popup-related code.
This will also ease moving the popup code as a widget into
its own file later (it seems we will need subdirs per interface
anyway).
* the popup is now implemented using curses pads of which pages
are copied into the popup window (to implement cycling through
the list of entries). This simplifies things conceptually.
* instead of a trailing ellipsis, scrollbars are shown if the popup
area is too small to show all entries.
This looks much better and consistent with regard to Scinterm's
scrollbars. Also, the planned GTK+ popup widget rewrite will have
scroll bars, too for cycling through the list of entries.
Therefore, the popup window will now always be the same size
when cycling. This also looks better.
* Borders are drawn around the popup area.
This makes sense since the popup area had to be colored distinctly
just to be able to discern it from the rest of the UI (esp. the
Scintilla view). Now, less annoying colors may be used by default
or set up in color profiles while still maintaining good visibility.
Also, with the borders added, the popup area looks more consistent
when it covers the entire screen.
* Entries that are too long to fit on the screen (e.g. long file names)
are now truncated with a bold/underline ellipsis.
* Use scintilla_noutrefresh() to refresh the Scintilla view.
Since popups have to be refreshed __after__ the Scintilla view,
this improves performance significantly and reduces flickering
when displaying large popups.
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r-- | doc/sciteco.7.template | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 54fdf57..c64fb4a 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -576,9 +576,8 @@ If no completion can be performed, the invocation will display a 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. +completions, this is highlighted by the user interface +using scroll bars. 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 |