示例#1
0
 public void highlight(EditorCell cell, EditorCell cell2, Color c) {
   assert SwingUtilities.isEventDispatchThread()
       : "LeftEditorHighlighter.unHighlight() should be called in eventDispatchThread";
   assert cell.getEditor() == myEditorComponent : "cell must be from my editor";
   myBracketsPainter.addBracket(cell, cell2, c);
 }
示例#2
0
 public void unHighlight(EditorCell cell) {
   assert SwingUtilities.isEventDispatchThread()
       : "LeftEditorHighlighter.unHighlight() should be called in eventDispatchThread";
   myBracketsPainter.removeBracket(cell);
 }