Community
Participate
Working Groups
I think a builder pattern for the editor would be nice: EmbeddedEditorBuilder.showAnnotations().showLineNumbers().processIssues(..).writable().withParent(Composite)
Pushed the first shot to master. Remaining TODO: Provide useful editor actions in embedded editor, too (duplicate line, move line up, shift left, ...)
I postponed #showLineNumbers and #enableFolding and used #readOnly in favor of #writable.
IContextService and IHandlerService are driving me crazy right now ..
The commonly used keybindings are now available in the embedded editor, too. Remaining work will be tracked in individual tickets.
Requested via bug 522520. -M.