From f3cb82b78f5e7ab51c8227f978e29011a85354df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Wed, 19 Apr 2017 16:08:54 +0300 Subject: [PATCH] (refs #7152) Remove extra line number indicators in status bar Change-Id: Ib8f7b09260f3e64bb123fcbe26ade29937e1b429 --- .../org/simantics/scl/ui/editor2/SCLModuleEditor2.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java index 6fa46b2b2..1398f2c07 100644 --- a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java +++ b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java @@ -10,8 +10,6 @@ import org.eclipse.ui.IEditorSite; import org.eclipse.ui.PartInitException; import org.eclipse.ui.contexts.IContextService; import org.eclipse.ui.editors.text.TextEditor; -import org.eclipse.ui.texteditor.ITextEditorActionConstants; -import org.eclipse.ui.texteditor.StatusLineContributionItem; import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew; import org.simantics.scl.ui.editor.completion.SCLTextEditorEnvironment; @@ -41,13 +39,6 @@ public class SCLModuleEditor2 extends TextEditor { @Override public void createPartControl(Composite parent) { super.createPartControl(parent); - StatusLineContributionItem statusLineContribution = new StatusLineContributionItem( - ITextEditorActionConstants.STATUS_CATEGORY_INPUT_POSITION, - true, 14); - setStatusField(statusLineContribution, - ITextEditorActionConstants.STATUS_CATEGORY_INPUT_POSITION); - getEditorSite().getActionBars().getStatusLineManager().add(statusLineContribution); - getEditorSite().getActionBars().updateActionBars(); getEditorSite().getService(IContextService.class).activateContext("org.simantics.scl.ui.editor"); updatePartName(); } -- 2.47.1