Changeset 905


Ignore:
Timestamp:
Oct 13, 2010, 6:35:44 PM (7 years ago)
Author:
stefan
Message:

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

File:
1 edited

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("[^, ]+[^,]*");
Note: See TracChangeset for help on using the changeset viewer.