add/delete elements refactoring

This commit is contained in:
Alexander Kirillin
2011-12-08 21:52:41 +03:00
parent af50405203
commit 9b94540553
@@ -417,6 +417,11 @@ public abstract class AbstractInplaceIntroducer<V extends PsiNameIdentifierOwner
highlightManager.addOccurrenceHighlight(editor, startOffset, startOffset + variableNameLength, attributes, 0, highlighters, null);
}
}
for (RangeHighlighter highlighter : highlighters) {
highlighter.setGreedyToLeft(true);
highlighter.setGreedyToRight(true);
}
}
protected void restoreState(final V psiField) {