Posted 20 years ago
by billb
-
Software Craftsman,
Yye Software
It looks like SmartIndent will work fine for an opening brace (in the case of say, C# or C++), however, it's not going to work for the closing brace (since it waits on an ENTER). In VS.NET, the closing brace gets "outdented" as soon as its typed. I'm looking at the SemanticParser events and it looks like I might be able to catch the closing brace, but I'm having a hard time deleting the whitespace (I figured I'd want to delete the token(s) immediately before the closing brace).
I'm just now getting into the gritty details of this control, so any n00b help and direction is appreciated.
I'm just now getting into the gritty details of this control, so any n00b help and direction is appreciated.