[hg] main-silver: #231127: fixed array iteration from 2nd offset...

  • From: Svata Dedic < >
  • To:
  • Subject: [hg] main-silver: #231127: fixed array iteration from 2nd offset...
  • Date: Wed, 12 Jun 2013 20:46:52 -0700

changeset 8472243982ae in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/8472243982ae
description:
        #231127: fixed array iteration from 2nd offset pair

diffstat:

 
editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/MasterMatcher.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/MasterMatcher.java
 
b/editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/MasterMatcher.java
--- 
a/editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/MasterMatcher.java
+++ 
b/editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/MasterMatcher.java
@@ -361,7 +361,7 @@
         int startIdx;
         
         if (skipFirst && offsets.length > 2) {
-            startIdx = 1;
+            startIdx = 2;
         } else {
             startIdx = 0;
         }

[hg] main-silver: #231127: fixed array iteration from 2nd offset...

Svata Dedic 06/13/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close