Community
Participate
Working Groups
I'm trying to register some ITextEditorActionDefinitionIds for my source viewer via ui.handler extension point but is not possible. Only way is hardcode in *Editor.createNavigationActions or to use deprecated editorActions extension point. Mentioned actions: 1.LINE_START 2.SELECT_LINE_START 3.LINE_END 4.SELECT_LINE_END 5.WORD_PREVIOUS 6.WORD_NEXT 7.SELECT_WORD_PREVIOUS 8.SELECT_WORD_NEXT JDT create such actions via createNavigationActions(), and to keep this actions in MergeViewer, create special CompilationUnitEditorAdapter and playing with action synchronisation. If not via ui.command and handlers, I hope that action registration could be part of SourceViewerConfiguration. See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=455985#c7