Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363752 - [xtext][ui] Extract the embeddable Xtext editor and make it easy to configure
Summary: [xtext][ui] Extract the embeddable Xtext editor and make it easy to configure
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 16:25 EST by Sebastian Zarnekow CLA
Modified: 2017-10-31 10:58 EDT (History)
2 users (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.