[Geany-devel] interactive typeahead seach for the sidebar
thomas.martitz at xxxxx
Sat Aug 15 22:09:51 UTC 2009
Thomas Martitz wrote:
> So, I basically want to discuss about a) if this feature is wanted and
> b) about the two problems that showed up.
> I really love this feature already.
> Attached is my diff.
> Best regards.
I think I fixed the issues I mentioned, it works flawlessly so far at least.
1) steal the focus right away if using the mouse
2) steal the focus while typing only after the symbol/file has been
"activated"(i.e. after return/enter, space)
for b) I reordered the code in document.c a bit. In fact, the code for
bringing the opened document in front is already there, but only used if
the file to be opened existed already. I moved it so, that it does that
in any event. I copied to focus-stealing function into document.c also,
since I think setting the focus into the editor widget is desirable for
normal file opening too (ctrl + o, select, hit enter, start coding right
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12882 bytes
Desc: not available
More information about the Devel