Olivier Dagenais:
Hi Neil (and other SciTE developers),
I was rather jealous of my friend's ability to CTRL+Click on a fold point in the margin
and have all children recursively contract or expand, while I had no such keyboard
shortcut at my disposal (whereas I was able to do some of this in VS.NET with
"Collapse to definitions"), so I extended SciTE to make this possible!
I have attached both a patch and a ZIP of the files I modified (I seem to
remember you preferring the entire files, just in case) of the following
changes (feel free to adapt as you see fit - I may even have forgotten some
areas to apply my changes):
1 - Added two new "commands": IDM_TOGGLE_FOLDRECURSIVE and
IDM_EXPAND_ENSURECHILDRENVISIBLE
2 - Added handlers for those commands in SciTEBase's message processing and
they call special methods for their purpose.
3 - Created said special methods from code in MarginClick and got MarginClick
to call the new [now re-used] special methods.
4 - Added the new "commands" to the mapping table, so that they can be used in
the config file(s).
IMHO is a great new feature.
--
kanutron (aka Josepmaria Roca)
* [EMAIL PROTECTED]
* http://kanutron.net/
-----------------------------------------------------------------------------
" las opiniones son como los culos,
todo el mundo tiene el suyo "
- Harry Challahan -
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest