That's not a bad idea, but what I would prefer is to highlight the function name in the symbols tab, corresponding to the function the cursor is in. But that would be another feature ...<br><br><br><div class="gmail_quote">
2010/10/29 Liviu Andronic <span dir="ltr"><<a href="mailto:landronimirc@gmail.com">landronimirc@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear devels<br>
What would you think about implementing a 'narrowing' feature in Geany?<br>
<br>
Currently, the functions that are longer than a screen are very hard<br>
to track with simple scrolling. One thing that helps is matching<br>
braces, but only to a degree. Even if you highlight the braces by<br>
placing the cursor on one of the two, you may still need to start<br>
searching for the end of the function, and you may still easily miss<br>
it. (I think there is a binding that allows to go to the second brace<br>
directly, but that's still not it.)<br>
<br>
Another way to deal with this would be to add a 'narrowing' option.<br>
I've first heard of this on the LyX list [1], with a reference to the<br>
commercial EmEditor [2] (scroll to 'narrowing' to see some<br>
screenshots). For example, Geany could narrow down---keep the needed<br>
part in the usual background but grey-out all the rest---when placing<br>
the mouse on braces. (Or, this could be provided as a c-menu item when<br>
the cursor is on the bracing. Alternatively, the narrowing mode could<br>
be activated after selecting several lines and clicking on a menu<br>
item.) Whichever the implementation, this feature can be very helpful<br>
to improve workflow and reduce the mental workload necessary to<br>
inspect/edit specific parts of the code.<br>
<br>
Do you think this would make sense for Geany? Regards<br>
Liviu<br>
<br>
[1] <a href="http://www.mail-archive.com/lyx-users@lists.lyx.org/msg80540.html" target="_blank">http://www.mail-archive.com/lyx-users@lists.lyx.org/msg80540.html</a><br>
[2] <a href="http://www.emeditor.com/modules/feature1/rewrite/tc_35.html" target="_blank">http://www.emeditor.com/modules/feature1/rewrite/tc_35.html</a><br>
<br>
<br>
<br>
--<br>
Do you know how to read?<br>
<a href="http://www.alienetworks.com/srtest.cfm" target="_blank">http://www.alienetworks.com/srtest.cfm</a><br>
<a href="http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader" target="_blank">http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader</a><br>
Do you know how to write?<br>
<a href="http://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail" target="_blank">http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail</a><br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</blockquote></div><br>