James Cuénod wrote:
No, what I mean is, if some sort of event occurs - such as control+space
(but i was thinking of a non-editing keystroke)
I can be mistaken, but I didn't found Ctrl+space in the SciTE
documentation (before posting previous message), nor in Scintilla's
KeyMap.cxx (right now).
E:\Dev\3rdParty\SciTE\v1.73\scite\doc
> grep -i space *.html | grep -i Ctrl
SciTEDoc.html: <td>Delete to start of
word.</td><td>Ctrl+BackSpace</td>
SciTEDoc.html: <td>Delete to start of
line.</td><td>Ctrl+Shift+BackSpace</td>
Aha, I knew it was used, but it seems undocumented: in SciTERes.rc, we
have two lines:
VK_SPACE, IDM_SHOWCALLTIP, VIRTKEY, CONTROL, SHIFT
VK_SPACE, IDM_COMPLETE, VIRTKEY, CONTROL
Obviously, SciTEDoc.html needs to be improved in the field of the list
of keyboard shortcuts...
So let say Ctrl+Shift+Space or some other key easier to type (but lot
are already taken...).
then scite takes away
the tooltip and replaces it with an autocomplete dialog because then it
knows that you want it.
Indeed, I just wanted to point out that if there is only one choice, the
shortcut can just activate the autocompletion, no need for an extra step.
Indeed, in cases there are several possible choices, replacing the
tooltip by the currently used list make sense.
Also, scite doesn't use the traditional windows
tooltips does it? I thought they were custom made...
AFAIK, it uses small titleless windows showing only a ListBox.
Now, nothing prevents from using real tooltips or Scintilla's CallTips.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest