@Override public void setEditor(@NotNull HighlighterClient editor) { Lexer l = getLexer(); if (l instanceof LayeredLexer) { editor.getDocument().putUserData(KEY, editor.getDocument().getText().indexOf(PyNames.UNICODE_LITERALS) == -1); } super.setEditor(editor); }
@Override public void setEditor(@NotNull HighlighterClient editor) { }
@Override public void setEditor(@NotNull HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }
public HighlighterClient getClient() { return myEditor; }
@Override public void setEditor(@NotNull HighlighterClient editor) { myDocument = editor.getDocument(); }
@Override public void setEditor(@NotNull final HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }
@Override public void setEditor(@NotNull HighlighterClient editor) { myEditor = editor; }
@Override public void setEditor(HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }
@Override public void setEditor(final HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }
@Override public void setEditor(@Nonnull HighlighterClient editor) { }
@Override public void setEditor(@Nonnull HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }
@Override public void setEditor(@Nonnull final HighlighterClient editor) { LOG.assertTrue(myEditor == null, "Highlighters cannot be reused with different editors"); myEditor = editor; }