Closed chqu1012 closed 7 years ago
rules.add(new SingleLineRule("\"", "\"", new Token(new TextAttribute(Display.getCurrent().getSystemColor(SWT.COLOR_GREEN))), '\\')); rules.add(new SingleLineRule("\'", "\'", new Token(new TextAttribute(Display.getCurrent().getSystemColor(SWT.COLOR_GREEN))), '\\')); rules.add(new MultiLineRule("/*", "*/", new Token(new TextAttribute(Display.getCurrent().getSystemColor(SWT.COLOR_BLUE))))); rules.add(new EndOfLineRule("//", new Token(new TextAttribute(Display.getCurrent().getSystemColor(SWT.COLOR_BLUE)))));
Finished.