Changeset 560
- Timestamp:
- 01/24/10 19:26:47 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/jlatexeditor/codehelper/PatternPair.java
r559 r560 22 22 23 23 public PatternPair(String leftPattern, String rightPattern) { 24 this(leftPattern, false, rightPattern);24 this(leftPattern, true, rightPattern); 25 25 } 26 26 … … 54 54 int rightGroupMin = combine ? 2 : 1; 55 55 for (int i=1; i<=leftGroupMax; i++) { 56 groups.add(new WordWithPos(leftMatcher.group(i) + rightMatcher.group(i), row, leftMatcher.start(i)));56 groups.add(new WordWithPos(leftMatcher.group(i), row, leftMatcher.start(i))); 57 57 } 58 58 if (combine) { … … 60 60 } 61 61 for (int i=rightGroupMin; i<=rightGroupCount; i++) { 62 groups.add(new WordWithPos( leftMatcher.group(i) + rightMatcher.group(i), row, leftMatcher.start(i)));62 groups.add(new WordWithPos(rightMatcher.group(i) + rightMatcher.group(i), row, rightMatcher.start(i))); 63 63 } 64 64
![(please configure the [header_logo] section in trac.ini)](http://jlatexeditor.endrullis.de/chrome/site/logo.png)