Changeset 588
- Timestamp:
- 01/30/10 15:12:31 (3 years ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
jlatexeditor/codehelper/BibCodeHelper.java (modified) (2 diffs)
-
sce/codehelper/WordWithPos.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/jlatexeditor/codehelper/BibCodeHelper.java
r586 r588 12 12 public BibCodeHelper(BackgroundParser backgroundParser) { 13 13 this.backgroundParser = backgroundParser; 14 pattern = new PatternPair("\\\\cite\\{([^{} ]*)");14 pattern = new PatternPair("\\\\cite\\{([^{},]+,)?([^{},]*)"); 15 15 } 16 16 … … 18 18 public boolean matches() { 19 19 if (super.matches()) { 20 word = params.get( 0);20 word = params.get(1); 21 21 return true; 22 22 } -
trunk/src/sce/codehelper/WordWithPos.java
r586 r588 18 18 this.row = row; 19 19 this.startColumn = startColumn; 20 this.endColumn = startColumn + word.length();20 this.endColumn = startColumn + (word == null ? 0 : word.length()); 21 21 } 22 22
![(please configure the [header_logo] section in trac.ini)](http://jlatexeditor.endrullis.de/chrome/site/logo.png)