blob: 9ad8629164e75801c5ccd43dd86a17e46bce2178 [file] [log] [blame]
<!--
DO NOT EDIT THIS FILE WITH HTML EDITORS
-->
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]">
<title>Eclipse 3.1 Platform Build Notes - Text</title>
<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
</head>
<body>
<h1>
Eclipse 3.1 Platform Build Notes<br>
Text</h1>
To see which bugs have been addressed in one of the builds simply open the <a href="http://bugs.eclipse.org/bugs/query.cgi?short_desc_type=allwordssubstr&amp;product=Platform&amp;component=Text&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;keywords_type=allwords&amp;keywords=&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;changedin=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;namedcmd=Assigned&amp;newqueryname=&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">Platform-Text bugzilla query page</a>, select status, resolution and the time frame.
<br>
<br>
<br>
========== Eclipse Build Input December 14th 2004 ==========<br>
<pre>
- added Spelling API to org.eclipse.ui.workbench.texteditor plug-in:
- The API is still under construction, provide feedback in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=77353.
- New package: org.eclipse.ui.texteditor.spelling
- New extension-point: org.eclipse.ui.workbench.texteditor.spellingEngine
- A spelling client can spell-check a document by calling
SpellingService#check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor).
The supplied SpellingContext allows the spelling engine to determine
settings specific to this check. Each spelling error is reported to the
supplied ISpellingProblemCollector as SpellingProblem.
For example, see org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy
and org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy.SpellingProblemCollector.
- The org.eclipse.ui.editors plug-in provides access to a system-wide instance of
SpellingService with org.eclipse.ui.editors.text.EditorsUI#getSpellingService()
and registers a preference page for configuring the SpellingService's and
the spelling engines' preferences. The SpellingService's preferences are whether
spelling is enabled and which spelling engine is used. (The spelling preference page
shows a combo box for chosing the used engine only if more than one engine
is present.)
See org.eclipse.ui.texteditor.spelling.SpellingService and
the General > Editors > All Text Editors > Spelling preference page.
- A spelling engine implementer must implement ISpellingEngine and extend
the org.eclipse.ui.workbench.texteditor.spellingEngine extension-point.
The implementation of ISpellingEngine#check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)
reports any spelling errors to the given ISpellingProblemCollector as SpellingProblem.
Note that the engine must not call ISpellingProblemCollector#beginReporting()
or ISpellingProblemCollector#endReporting() as this is done by the spelling
infrastructure.
For example, see org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine
and org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingProblem.
- A spelling engine implementer can implement ISpellingPreferenceBlock and specify
the implementing class with the extension. A ISpellingPreferenceBlock provides
a UI for preferences specific to the spelling engine. If the user-supplied preference
values are not valid, the preference block should notify the IPreferenceStatusMonitor
it received on ISpellingPreferenceBlock#initialize(IPreferenceStatusMonitor), such
that the containing preference page can provide corresponding indication to the user.
For example, see org.eclipse.jdt.internal.ui.preferences.SpellingPreferenceBlock and
the General > Editors > All Text Editors > Spelling preference page.
- Extension specification example from the org.eclipse.jdt.ui plug-in's plugin.xml:
&lt;extension point="org.eclipse.ui.workbench.texteditor.spellingEngine"&gt;
&lt;engine
preferencesClass="org.eclipse.jdt.internal.ui.preferences.SpellingPreferenceBlock"
label="%defaultSpellingEngine.label"
class="org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"
default="true"
id="org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine"&gt;
&lt;/engine&gt;
&lt;/extension&gt;
- bug fixing
</pre>
========== Eclipse Build Input November 30th 2004 ==========<br>
<pre>
- added new hyperlink support to text viewer and editors:
- new package org.eclipse.jface.text.hyperlink
- extended ITextEditor with ITextViewerExtension6
- added shared/global text editor preference to
- enable/disable hyperlinking (default: enabled)
- set the hyperlink modifier key (default: MOD1 i.e. Ctrl or Command)
- set the hyperlink color (default: blue)
- SourceViewerConfiguration: clients using or subclassing it will now automatically
get hyperlinking for URLs (using MOD1 modifier).
- If hyperlinking is not desired then getHyperlinksEnabled(...) can be overwritten
to return false.
- To use the shared/global editor hyperlink preference either subclass
TextSourceViewerConfiguration or duplicate the getHyperlink* methods to your subclass
of SourceViewerConfiguration.
Note: your editor's preference store must be a ChainedPreferenceStore, e.g.
IPreferenceStore generalTextStore= EditorsUI.getPreferenceStore();
fChainedPreferenceStore= new ChainedPreferenceStore(new IPreferenceStore[] { YourPlugin.getPreferenceStore(), generalTextStore });
- additional hyperlink targets can be configured by extending SourceViewerConfiguration.getHyperlinkDetectors(...)
NOTE: In the feature it might (i.e. not sure yet) be possible to provide hyperlinking via
extension-point(s) and user-configurable it via preferences.
- preferences:
- moved many preferences that were available in all editors to a
shared editor page (see Workbench>Editors>All Text Editors)
- moved Java editor prefernce page under the Workbench>Editors node
- this is a temporary position due to the ongoing prefernce page reordering effor
- removed some preferences:
- show overview ruler
- bug fixing
</pre>
========== Eclipse Build Input November 23th 2004 ==========<br>
<pre>
- moved adapter factory registration from plug-in class to extension point
- bug fixing
</pre>
========== Eclipse Build Input September 21 2004 ==========<br>
<pre>
- the text editor now retargets the properties action i.e. the command to open
the properties dialog is enabled when the text editor has focus
- there's a new Edit > Change Encoding... action which reuses the encoding
field editor from the properties dialog
- EncodingActionGroup, IEncodingActionsConstants, IEncodingActionsDefinitionIds and
IEncodingActionsHelpContextIds are no longer used and have been deprecated
- bug fixing
LinkedMode:
- LinkedModeModel: document changes outside of linked positions
are now tolerated, as well as changes that do not lie completely inside a
position. Linked mode is still left if any disjointness constraints are violated
by a change (changes to LinkedModeModel and LinkedPositionGroup)
- LinkedModeUI now controls the entire exit behavior, so all the exit logic
is at one point. The UI includes a document listener now and exits the same
way as LinkedModeModel did before
-> no binary changes, no functional changes for any clients that use LinkedModeUI and LinkedModeModel together.
</pre>
<br>
<br>
========== Eclipse Build Input July 2004 ==========<br>
<pre>
- bug fixing
</pre>
<br>
<br>
</body>
</html>