Changeset 905

Show
Ignore:
Timestamp:
10/13/10 18:35:44 (3 years ago)
Author:
stefan
Message:

fixed bug #116: JLE does not spell check words concatenated with dashes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/syntaxhighlighting/LatexSyntaxHighlighting.java

    r898 r905  
    2626 
    2727public class LatexSyntaxHighlighting extends SyntaxHighlighting implements SCEDocumentListener { 
    28   private static final Pattern TERM_PATTERN = Pattern.compile("(\\\\?[\\wäöüÄÖÜß_\\-\\^]+)"); 
    29   private static final Pattern BAD_TERM_CHARS = Pattern.compile("[\\\\\\d_\\-\\^]"); 
     28  private static final Pattern TERM_PATTERN = Pattern.compile("(\\\\?[\\wäöüÄÖÜß_\\^]+)"); 
     29  private static final Pattern BAD_TERM_CHARS = Pattern.compile("[\\\\\\d_\\^]"); 
    3030  private static final Pattern TODO_PATTERN = Pattern.compile("\\btodo\\b"); 
    3131  private static final Pattern LIST_PATTERN = Pattern.compile("[^, ]+[^,]*");