tuliob / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

Bracket matching #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A very nice to have would be highlighting matching parentheses (, [ or {

Original issue reported on code.google.com by curtis.s...@gmail.com on 31 Jul 2008 at 4:03

GoogleCodeExporter commented 9 years ago
This could be more complicated than what it seems.  Brackets within comments or
strings should possibly be skipped.  And the View should change to provide
highlighting, which it cannot as currently implemented.
I'll investigate an implementation with the other enhancement requests.

Original comment by ayman.al...@gmail.com on 1 Aug 2008 at 8:43

GoogleCodeExporter commented 9 years ago
This is now being implemented for Java.  Will be released shortly.

Original comment by ayman.al...@gmail.com on 9 Oct 2008 at 11:16

GoogleCodeExporter commented 9 years ago
I implemented a simple highlighter using the highlighter feature of 
jeditorpane. Granted I didn't account for 
comments, etc. bit it works pretty well.

Original comment by curtis.s...@gmail.com on 9 Oct 2008 at 7:43

GoogleCodeExporter commented 9 years ago
The version I did accounts for comments and strings and also uses the 
JEditorPane
highlighters.  I expanded the Token class so that we can match begin end and 
other
constructs.  I'm testing this and will release shortly.

Original comment by ayman.al...@gmail.com on 10 Oct 2008 at 4:24

GoogleCodeExporter commented 9 years ago
Bracket Matching for Java is now in 0.9.2.  Please also verify so I can move to 
other
Languages.

Original comment by ayman.al...@gmail.com on 21 Oct 2008 at 7:38