This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 136341 [details] screenshot Wrong braces matching in nested blocks When I have nested blocks of same keyword, eg: 1. {% if %} 2. {% if %} 3. something 4. {% endif %} 5. {% endif %} Click on 'if' on 1st line and the 'endif' on 4th line is matched. For another example see screenshot.
Product Version: NetBeans IDE Dev (Build 201306252301) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Reproducible.
First part fixed in web-main #28181e275849 Start/end blocks.
First part fixed in web-main #ddfcaac4bca9 If and Endif matching.
Third part fixed in web-main #2e313f49f085 ElseIf and Else.
Integrated into 'main-silver', will be available in build *201306272300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/28181e275849 User: Ondrej Brejla <obrejla@netbeans.org> Log: #231846 - Twig braces matching works wrong on nested blocks (1. part) Fixed start/end blocks.
Works fine, verified. Thanks. Product Version: NetBeans IDE Dev (Build 201306272300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)