[Geany-Devel] Fix next/previous message keys to work without docs
dimitar.zhekov at xxxxx
Mon Oct 14 18:02:24 UTC 2013
Some time ago, during the discussion for focusing the "last active"
widget when the last document is closed, I found that invoking Search
Next/Previous Message via keybinding will not work if there are no open
documents. As it turns out, cb_func_search_action() checks for an open
document, and lets only Search FiF if there isn't any. Here is a fix.
It not very pretty, with multiply return-s, it would be nicer to place
the doc-related code and keys in a default: case of the new switch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1129 bytes
Desc: not available
More information about the Devel