Well. Sorry, I just hit the "send" button by accident, before putting the text in its right place or finishing the message.<br><br><div><span class="gmail_quote">2006/7/20, Alexandre Moreira <<a href="mailto:alexandream@gmail.com">
alexandream@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>This is the kind of thing that I see being useful in C/C++ header files, because of the
<br><br>#ifndef MYCONSTANT_H<br>#define MYCONSTANT_H<br>...<br>#endif<br><br>fold that gets on the first level.<br><br>Just though I should highlight it to clear a situation where this feature is indeed really useful.
<br><br><br><div><span class="gmail_quote">2006/7/20, Nexu <<a href="mailto:nexu.jin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nexu.jin@gmail.com</a>>:</span></div><div><span class="e" id="q_10c8cd4f22ee3198_1">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a way to fold the source code view to certain depth level?<br><br>"Fold All" option now fold everything to first level:<br><br>[-] First()<br>[-]     second()<br>[-]             third;<br>[-]                     forth
<br><br>becomes:<br><br>[+] First()<br><br>If possible, folding to to certain depth level would be useful.<br>e.g: fold to level 2<br><br>[-] First()<br>[+]     second()<br><br>Or 3rd..<br><br>But i can imagen adding this to the GUI would cause clutter. So perhaps
<br>user configurable key accelerator for this would be realistic.</blockquote></span></div></div></blockquote><div><br>Everyone in this list might know right now that I am a heavy advocate for having plugin system planned once 
1.0 is finally out.<br><br>With that said, I'd like to add that this would be really easy to get done, if we add the right hooks in Geany and let it be controlled by scripts in, say, Python or TCL (or even C plugins).<br>
<br>We would only have to create a system where a plugin could navigate through all folding markers at the current file, and then a user script/plugin could do the feature. That way the GUI for that wouldn't really be a Geany core problem, and plugins could configure their own gui the way they wanted, be it a weird button on the toolbar or a keybinding for the user.
<br><br><br>Cheers,<br>Alexandre Moreira.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span class="e" id="q_10c8cd4f22ee3198_1">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">_______________________________________________<br>Geany mailing list<br><a href="mailto:Geany@uvena.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Geany@uvena.de</a><br><a href="http://uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://uvena.de/cgi-bin/mailman/listinfo/geany</a><br></blockquote></span></div><div></div><br>

</div></blockquote></div><br>