On Fri, 29 Oct 2004, Jeroen wrote:
This sounds like it would require a whole lot of coding to get this done properly. And it's only of use to you if it's done properly, otherwise you'll turn it off after two uses and never look at it again.
I'm not sure how much code it would take to implement quality code wrapping, a la Vim. However, I think the current wrapping situation could be made a lot better by the inclusion of un-indent cues (which I believe is on Allan's to do list).
Also, this is something that would only work in languages where the indentation is defined by brackets or something. And then only for people with the same coding style.
Well, I'd assume that it would be customizable, just as the syntax files are for folk with different tastes in colors.
Perhaps I'm a bit biased, because I mostly code in python where it simply is not possible to have syntax-aware indentation. (Because the indentation *is* syntax).
Hmmmm... it would seem that the Vim folk disagree with you there, as they have a Python indentation package in their standard distribution (though I'm not sure what it does, as I'm not a Python guy).
There already is a feature for this: when you move over a parens/brace/etc, the matching one lights up briefly.
Although this could be improved as well. Right now, the hilighting only occurs when you move forward over the closing member of the pair (unless I'm missing a menu option somewhere), instead of either direction over either opening or closing members. BTW: Consider this a feature request, if it's not already an option, and a plea for guidance otherwise.
William D. Neumann firstname.lastname@example.org
FWO to the Nth degree!!! --- Dear Lord, please make me the kind of person my dog thinks I am.