|
|
|
|
|
Re: Editing in-memory content [message #908182 is a reply to message #908165] |
Tue, 04 September 2012 22:14 |
|
Hi,
here is a poc.
embeddedEditor = embeddedEditorFactory.newEditor(editedResourceProvider).showErrorAndWarningAnnotations().withParent(sashForm);
LineNumberRulerColumn lnrc = new LineNumberRulerColumn();
embeddedEditor.getViewer().addVerticalRulerColumn(lnrc);
you may have to fix/move stuff to
org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorFactory.Builder.withParent(Composite)
and call compositeRuler.addDecorator(0, column); or something like that directly there
to change there order of the rulers analogous to the editor.
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.03278 seconds