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

Bug 80154

Summary: [plan item] Provide better text editor support for RCP
Product: [Eclipse Project] Platform Reporter: Jim des Rivieres <jeem>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: mlists, thatnitind
Version: 3.0Keywords: plan
Target Milestone: 3.1   
Hardware: All   
OS: All   
Whiteboard:

Description Jim des Rivieres CLA 2004-12-03 14:43:02 EST
The list of functions to add will grow over time. The initial set includes: 
annotation presentation and navigation, user assigned colors and fonts, spell 
checking, user defined, persistent folding, quick diff, templates, URL 
detection and handling. [Platform Text]
Comment 1 Stefan Baramov CLA 2005-02-16 15:13:21 EST
The concept could really be extended to things such as preference pages. For
example: assume you have to write a simple editor for language XYZ. Naturally,
you would like to have a preference page to control the syntax highlighting
colors. As of 3.0.1 there is not such page provided by the platform. There is a
page like this in JDT   -
org.eclipse.jdt.internal.ui.preferences.JavaEditorPreferencePage. The page 
could be really generalized to suite any source code text editor. 

Further, the very same page uses components such as ColorEditor,
OverlayPreferenceStore, and PreferencesAdapter that are copied all over the
Eclipse SDK. For example, the OverlayPreferenceStore is found in: 
 - org.eclipse.ui.internal.editors.text
 - org.eclipse.compare.internal
 - org.eclipse.jdt.internal.ui.preferences
 and I believe it could be found in CDT or any other language dependant plugin.
 
The Same apply to ColorEditor part of org.eclipse.ui.internal.editors.text 
package. It would have been nice if all these classes are part of the 
publicly available package, so people like me, do not have to make yet 
another copy of those, just to implement a nice looking preference page. 
Comment 2 Dani Megert CLA 2005-04-15 05:52:14 EDT
Marking the plan item as fixed.

The following work has been done:
- URL detection and handling
- pluggable spell checking

The following work has been deferred:
- annotation navigation (see bug 47060)
- annotation presentation
- quick fix infrastructure (see bug 91504)
- spell checking support in the editor (see bug 51444)
- templates (see bug 65781)
- user assigned colors and fonts
- user defined, persistent folding (see also bug 70617)
Comment 3 Dani Megert CLA 2005-04-15 05:52:25 EDT
.