MantisBT - mSLDev
View Issue Details
0000170mSLDevSyntax Highlightingpublic2013-06-15 01:582013-11-02 00:33
Travis 
administrator 
normalminorhave not tried
resolvedfixed 
 
0.4.1.0 
0000170: alias file edit tool incorrect matching bracket highlight 0.4.0.94
When placing the cursor to an opening or closing {bracket}, the wrong one is highlighted as the match. Clicking next to either of the closing brackets actually highlights the same opening bracket, one of which happens to be the correct match.

The "construct, control" option's matching close bracket is also wrong for the syntax highlighting.
/F5 { window -g0 "status window" | var %c 1 | while $chan(%c) { window -g0 $v1 | inc %c } }
;If the code is expanded out and the pipes removed, the bracket match (with the cursor next to the bracket) is correct but the "construct, control" match highlight is still wrong (because the close bracket isn't highlighted at all).
/* A slightly different (actually contains a mistake) example with the same behavior */

if ($foo) { noop } }
;The second closing bracket is highlighted as the "construct, control" match, which is wrong. Multi-line code, however, doesn't appear to highlight the closing bracket at all for this.
;Placing the cursor next to the opening bracket correctly highlights the first closing bracket as the match.
;Placing the cursor next to the first closing bracket correctly identifies the match.
;Placing the cursor next to the second closing bracket also identifies it as the match for the opening bracket. Since equivalent multi-line code doesn't do this, I'm assuming it's wrong here.
No tags attached.
png ss (2013-06-15 at 04.24.34).png (3,661) 2013-06-15 01:58
http://www.msldev.com/bugs/file_download.php?file_id=10&type=bug
png
Issue History
2013-06-15 01:58TravisNew Issue
2013-06-15 01:58TravisFile Added: ss (2013-06-15 at 04.24.34).png
2013-11-02 00:33administratorNote Added: 0000133
2013-11-02 00:33administratorStatusnew => resolved
2013-11-02 00:33administratorFixed in Version => 0.4.1.0
2013-11-02 00:33administratorResolutionopen => fixed
2013-11-02 00:33administratorAssigned To => administrator

Notes
(0000133)
administrator   
2013-11-02 00:33   
Fixed both the colors and the bracket matching.