Hi all
I was trying out an Eclipse Spell Checker plugin from
bdaum.de.
Works great in some kind of controls in Eclipse, but
unfortunately not the rich text controls in EPF Composer.
I was liaising with the plugin developer and he sent me the
following information.
Are there any plans to enhance EPF Composer in this area?
Ben
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi
Ben,
as
an external spell checker, eSpell simply picks up SWT controls that get the
focus, reads their contents and highlights errors.
Editors
that do not use SWT text editing controls such as Text, StyledText, Combo and
CCombo cannot be supported.
This
is, unfortunately, the case with the RichTextEditor used in the EPF composer.
I
had a look in the source and found that this editor was implemented using
the Browser widget - which simply hosts Intener Explorer or Mozilla.
The
problem is: there is no way to obtain the content from that widget, so eSpell
can't support it. Nobody else could.
What
is required is that spell checking the EPF RichTextEditor must be implemented
internally.
A
suitable spell checking engine can be grabbed from extension point
org.eclipse.ui.workbench.texteditor.spellingEngine.
The
engine will accept a document and return a list of problems.
The
GUI, however, must be implemented by the RTE developers.