Hello, I saw this thread, and thought I'd make a suggestion. So scite has all of these nice color coded ways to tell you about different layers of scope and brackets etc. but if you can't see the screen the colors don't help much. Is there any way you could have the cursor say in some set of brackets or braces and if you pressed some key, it would put that code that "you" would see highlighted in a say new untitled file? or if you had a line with several sets of parens on it, you could have a command displaying a message box or something in the status line that would tell you how many left and right parens there were. or you could select some code and then it would tell you numbers of left and right parens braces or brackets Just some ideas. Kevin
> Frank Wunderlich wrote: >> -------- Original-Nachricht -------- >> Datum: Mon, 22 Jan 2007 15:55:38 +0100 >> Von: Philippe Lhoste <[EMAIL PROTECTED]> >> An: [email protected] >> Betreff: [scite] Re: bracket matching >> >>> I have lost what is the problem you want to fix. >>> From what I recall from this thread, is that there was indeed a >>> problem >>> in the HTML lexer which has been fixed in SCM, and otherwise you have >>> to >>> define braces.<lexer name>.style=<style number> to get correct handling >>> of brace matching. >> i've tried >> braces.hypertext.style=50 #javascript operator >> and some other values (34,35,101,116,127) i found in html.properties for >> operator-styles >> and setting braces.sloppy to 1. now i got no highlighting. >> problem was like described in 1st posting the jumps between brackets >> using Ctrl+E. >> >>> See, for example, this setting in the cpp.properties: >>> >>> # Braces are only matched in operator style >>> braces.cpp.style=10 >>> >>> That, and of course braces.sloppy=1 >> here the comment says "Braces only matched in operator style" in >> html.properties there is a braces.xml.style with comment "no brace >> matching in XML" >> i need the setting for html lexer to get the ctrl+e correctly working. >> btw. what is "SCM"? > > Well, current builds of SciTE now work properly on the originally > posted "embedded PHP fragment" test case - braces highlighting and > matching work as expected. The same for embedded JavaScript, BTW. > > NOTE that the above work without any braces.<lexer>.style settings! > > These settings will LIMIT where braces can be matched - they do not > ENABLE braces matching. The default of 0 allows [e.g.] comments and > strings to be checked for matches too, which is usually not what one > would want. > > Robert Roessler > [EMAIL PROTECTED] > http://www.rftp.com > _______________________________________________ > Scite-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scite-interest > _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
