Mantis Bug Tracker

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000170mSLDevSyntax Highlightingpublic2013-06-15 01:582013-11-02 00:33
ReporterTravis 
Assigned Toadministrator 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version0.4.1.0 
Summary0000170: alias file edit tool incorrect matching bracket highlight 0.4.0.94
DescriptionWhen 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.
Steps To Reproduce/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).
Additional Information/* 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.
TagsNo tags attached.
Beta mIRC version?
mIRC Version
Attached Filespng file icon ss (2013-06-15 at 04.24.34).png [^] (3,661 bytes) 2013-06-15 01:58

- Relationships

-  Notes
(0000133)
administrator (administrator)
2013-11-02 00:33

Fixed both the colors and the bracket matching.

- Issue History
Date Modified Username Field Change
2013-06-15 01:58 Travis New Issue
2013-06-15 01:58 Travis File Added: ss (2013-06-15 at 04.24.34).png
2013-11-02 00:33 administrator Note Added: 0000133
2013-11-02 00:33 administrator Status new => resolved
2013-11-02 00:33 administrator Fixed in Version => 0.4.1.0
2013-11-02 00:33 administrator Resolution open => fixed
2013-11-02 00:33 administrator Assigned To => administrator


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker