From: Jochen L. <lue...@us...> - 2005-02-06 08:22:57
|
Update of /cvsroot/e-p-i-c/org.epic.ext.cbg.editor/src/cbg/editor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25010/src/cbg/editor Modified Files: ColoringEditorTools.java Log Message: Added regexp Modifier Index: ColoringEditorTools.java =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.ext.cbg.editor/src/cbg/editor/ColoringEditorTools.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- ColoringEditorTools.java 27 Jan 2005 20:30:46 -0000 1.8 +++ ColoringEditorTools.java 6 Feb 2005 08:22:47 -0000 1.9 @@ -60,11 +60,15 @@ } if (span.matchBracket() || span.noMultipleEndTag() > 1 || span.requireEndTag() - || span.getGroupContent() != null || checkCase || span.dynamicTagging()) { + || span.getGroupContent() != null || checkCase || span.dynamicTagging() + || span.getRequireAfterWhitespace() || span.getRequireBeforeWhitespace()) { pat = new ExtendedPatternRule(span.getStart(), span.getEnd(), defaultToken, mode.getDefaultRuleSet().getEscape(), span.noLineBreak(), span.noMaxChar(), span.getGroupContent() , span.matchBracket(), span.noMultipleEndTag(), span.requireEndTag(), ignoreCase, span.dynamicTagging(), - span.getCountDelimterChars(), span.getBeforeTag(), span.getAfterTag(),myWhitespaceDetector); + span.getCountDelimterChars(), span.getBeforeTag(), span.getAfterTag(), + span.getRequireBeforeWhitespace() , span.getRequireAfterWhitespace(), + span.optinalModifiers(), + myWhitespaceDetector); } else { //the last parameter makes a default handling, //i.e. if the End-Tag is missing => mark till the end of File |