John Yeung:
Well, my thought would be not to change the number of settings at all, and simply make statement.indent.filepattern always match only the last nonwhitespace, noncomment character when a character is specified for that option (as opposed to when a keyword or keywords are specified).
Then you need a setting to say which styles are considered whitespace and comment as there is currently no strong concept of these in Scintilla or SciTE.
In case anyone is interested, I went ahead and implemented (just for myself) my off-the-cuff proposal from before, of explicitly choosing to only match at EOL by using a special character in the properties file. I picked the asterisk, which may or may not be a stupid choice,
Using a flag character is equivalent to adding another setting but is not as self-documenting.
I would be happy to share my code (modified from the production 1.71 release) with anyone who wants it. It's only a small change, and perhaps a somewhat kludgy one at that, so I don't know if it's worth submitting to the project.
If you post a diff to this list or to the tracker then people interested in the feature can use that as a basis. I don't think I'll accept it as described. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
