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.

View | Details | Raw Unified | Return to bug 134448
Collapse All | Expand All

(-)a/editor.bracesmatching/manifest.mf (-6 / +6 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.modules.editor.bracesmatching/0
2
OpenIDE-Module: org.netbeans.modules.editor.bracesmatching/0
3
OpenIDE-Module-Layer: org/netbeans/modules/editor/bracesmatching/layer.xml
3
OpenIDE-Module-Layer: org/netbeans/modules/editor/bracesmatching/layer.xml
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/editor/bracesmatching/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/editor/bracesmatching/Bundle.properties
5
OpenIDE-Module-Specification-Version: 1.20
5
OpenIDE-Module-Specification-Version: 1.20
6
AutoUpdate-Show-In-Client: false
6
AutoUpdate-Show-In-Client: false
(-)a/editor.bracesmatching/src/org/netbeans/spi/editor/bracesmatching/support/BracesMatcherSupport.java (+6 lines)
Lines 276-281 Link Here
276
                if (MatcherContext.isTaskCanceled()) {
276
                if (MatcherContext.isTaskCanceled()) {
277
                    return -1;
277
                    return -1;
278
                }
278
                }
279
                if (text.array[text.offset + i] == '\"') {
280
                    return -1;
281
                }
279
                if (origin == text.array[text.offset + i]) {
282
                if (origin == text.array[text.offset + i]) {
280
                    count++;
283
                    count++;
281
                } else if (matching == text.array[text.offset + i]) {
284
                } else if (matching == text.array[text.offset + i]) {
Lines 296-301 Link Here
296
                if (MatcherContext.isTaskCanceled()) {
299
                if (MatcherContext.isTaskCanceled()) {
297
                    return -1;
300
                    return -1;
298
                }
301
                }
302
                if (text.array[text.offset + i] == '\"') {
303
                    return -1;
304
                }
299
                if (origin == text.array[text.offset + i]) {
305
                if (origin == text.array[text.offset + i]) {
300
                    count++;
306
                    count++;
301
                } else if (matching == text.array[text.offset + i]) {
307
                } else if (matching == text.array[text.offset + i]) {

Return to bug 134448