Examples of LineNumberRulerColumn


Examples of com.redcareditor.mate.LineNumberRulerColumn

    annotationRuler = new AnnotationRulerColumn(fAnnotationModel, 16, fAnnotationAccess);
    compositeRuler.setModel(fAnnotationModel);

    // add what types are show on the different rulers

    lineNumbers = new LineNumberRulerColumn();
    compositeRuler.addDecorator(0, lineNumbers);
    compositeRuler.addDecorator(0, annotationRuler);

    viewer = new SourceViewer(parent, compositeRuler, SWT.FULL_SELECTION | SWT.HORIZONTAL | SWT.VERTICAL);
    viewer.setDocument(document, fAnnotationModel);
View Full Code Here

Examples of org.eclipse.jface.text.source.LineNumberRulerColumn

          AbstractDecoratedTextEditorPreferenceConstants.EDITOR_CURRENT_LINE,
          AbstractDecoratedTextEditorPreferenceConstants.EDITOR_CURRENT_LINE_COLOR);
    }
    support.install(EditorsUI.getPreferenceStore());
    if (ruler instanceof CompositeRuler) {
      lineNumberRuler = new LineNumberRulerColumn();
      ((CompositeRuler) ruler).addDecorator(0, lineNumberRuler);
    }
    getTextWidget().setAlwaysShowScrollBars(false);
    initListeners();
    getControl().addDisposeListener(new DisposeListener() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.