use of org.eclipse.jface.text.source.LineNumberChangeRulerColumn in project eclipse.platform.text by eclipse.
the class AbstractDecoratedTextEditor method createLineNumberRulerColumn.
/**
* Creates a new line number ruler column that is appropriately initialized.
*
* @return the created line number column
*/
protected IVerticalRulerColumn createLineNumberRulerColumn() {
/*
* Left for compatibility. See LineNumberColumn.
*/
fLineNumberRulerColumn = new LineNumberChangeRulerColumn(getSharedColors());
((IChangeRulerColumn) fLineNumberRulerColumn).setHover(createChangeHover());
initializeLineNumberRulerColumn(fLineNumberRulerColumn);
return fLineNumberRulerColumn;
}
use of org.eclipse.jface.text.source.LineNumberChangeRulerColumn in project eclipse.platform.text by eclipse.
the class LineNumberColumn method updateCharacterMode.
private void updateCharacterMode(IPreferenceStore store, IVerticalRulerColumn column) {
if (column instanceof LineNumberChangeRulerColumn) {
LineNumberChangeRulerColumn lncrc = (LineNumberChangeRulerColumn) column;
lncrc.setDisplayMode(store.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.QUICK_DIFF_CHARACTER_MODE));
}
}
Aggregations