Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363752

Summary: [xtext][ui] Extract the embeddable Xtext editor and make it easy to configure
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: erche, sven.efftinge
Version: 2.1.0Flags: sebastian.zarnekow: juno+
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2011-11-14 16:25:10 EST
I think a builder pattern for the editor would be nice:

EmbeddedEditorBuilder.showAnnotations().showLineNumbers().processIssues(..).writable().withParent(Composite)
Comment 1 Sebastian Zarnekow CLA 2011-11-29 17:46:06 EST
Pushed the first shot to master. Remaining TODO: Provide useful editor actions in embedded editor, too (duplicate line, move line up, shift left, ...)
Comment 2 Sebastian Zarnekow CLA 2011-11-29 17:52:36 EST
I postponed #showLineNumbers and #enableFolding and used #readOnly in favor of #writable.
Comment 3 Sebastian Zarnekow CLA 2011-11-30 18:26:21 EST
IContextService and IHandlerService are driving me crazy right now ..
Comment 4 Sebastian Zarnekow CLA 2011-12-21 05:05:51 EST
The commonly used keybindings are now available in the embedded editor, too.
Remaining work will be tracked in individual tickets.
Comment 5 Eclipse Webmaster CLA 2017-10-31 10:47:37 EDT
Requested via bug 522520.

-M.
Comment 6 Eclipse Webmaster CLA 2017-10-31 10:58:39 EDT
Requested via bug 522520.

-M.