Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Spelling (again)
Spelling (again) [message #551874] Mon, 09 August 2010 21:49 Go to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Hi,
I have big difficulties adding spelling support to my editor.
I need Italian dictionary so a plain wordlist spellchecker is not the
right choice.

I am using Helios as development platform.

I tried installing eSpell 3.4.2 from the bdaum site, is seems to work,
but I've not been able to find a suitable dictionary (it is said it
works with OpenOffice dictionaries, but I've been unable to make it work
in practice).

Anyhow this wouldn't help me even if worked because I add the plugin
(com.bdaum,SpellChecker3) to my RCP app dependencies it refuses to start
with error:

!SESSION 2010-08-09 17:07:07.559
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments: -product Writer.product
Command-line arguments: -product Writer.product -data
C:\Users\Mauro\workspace/../runtime-Writer.product -dev
file:C:/Users/Mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product/dev.properties
-os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.equinox.app 0 0 2010-08-09 17:07:09.084
!MESSAGE Product Writer.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2010-08-09 17:07:09.141
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-09 17:07:09.142
!MESSAGE Bundle
initial@reference:file:../../Users/Mauro/workspace/it.condarelli.writer/
was not resolved.
!SUBENTRY 2 Writer 2 0 2010-08-09 17:07:09.142
!MESSAGE Missing required bundle com.bdaum.SpellChecker3_3.2.3.
....

The plugin is installed in eclipse and somewhat working.
What am I doing wrong?

In general:
I need spell-checking in my editor.
Is this the right path?
Should I use some other plugin?

Please advise.
Regards
Mauro
Re: Spelling (again) [message #552490 is a reply to message #551874] Thu, 12 August 2010 11:07 Go to previous messageGo to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
No takers?

I will rephrase in another way.
Perhaps I will be lucky ;)

I need a full TextEditor oriented towards Desktop Publishing.
I do not really need many of the advanced fetures (Styles, alignment
etc.) because I use my own markup, but I *do* need wordwrapping, text
highlighting and spell-checking.

Additional constraint is I need to edit a (possibly very long) String
and not a file, otherwise I could use OpenOffice integration via UNO (I
know it's overblown, but it would work).

My current incarnation is based on AbstractTextEditor and I have several
problems with it:
Text Highlightingg works ok.
Wordwrapping somewhat works, but is very buggy.
I have not been able to make Spellchecking work at all.
I still have some unresolved issues with drag/drop of text.

Question is:
Is there some kind of Text-editor I can integrate?
Othewise, can some kind soul help me sorting my problems (pointing me to
the relevant documentation)?

Thanks in Advance
Mauro

Il 09/08/2010 23:49, Mauro Condarelli ha scritto:
> Hi,
> I have big difficulties adding spelling support to my editor.
> I need Italian dictionary so a plain wordlist spellchecker is not the
> right choice.
>
> I am using Helios as development platform.
>
> I tried installing eSpell 3.4.2 from the bdaum site, is seems to work,
> but I've not been able to find a suitable dictionary (it is said it
> works with OpenOffice dictionaries, but I've been unable to make it work
> in practice).
>
> Anyhow this wouldn't help me even if worked because I add the plugin
> (com.bdaum,SpellChecker3) to my RCP app dependencies it refuses to start
> with error:
>
> !SESSION 2010-08-09 17:07:07.559
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_21
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
> Framework arguments: -product Writer.product
> Command-line arguments: -product Writer.product -data
> C:\Users\Mauro\workspace/../runtime-Writer.product -dev
> file:C:/Users/Mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product/dev.properties
> -os win32 -ws win32 -arch x86 -consoleLog
>
> !ENTRY org.eclipse.equinox.app 0 0 2010-08-09 17:07:09.084
> !MESSAGE Product Writer.product could not be found.
>
> !ENTRY org.eclipse.osgi 2 0 2010-08-09 17:07:09.141
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-09 17:07:09.142
> !MESSAGE Bundle
> initial@reference:file:../../Users/Mauro/workspace/it.condarelli.writer/
> was not resolved.
> !SUBENTRY 2 Writer 2 0 2010-08-09 17:07:09.142
> !MESSAGE Missing required bundle com.bdaum.SpellChecker3_3.2.3.
> ...
>
> The plugin is installed in eclipse and somewhat working.
> What am I doing wrong?
>
> In general:
> I need spell-checking in my editor.
> Is this the right path?
> Should I use some other plugin?
>
> Please advise.
> Regards
> Mauro
Re: Spelling (again) [message #552683 is a reply to message #552490] Fri, 13 August 2010 07:39 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Mauro Condarelli wrote:
> No takers?
>
> I will rephrase in another way.
> Perhaps I will be lucky ;)
>
> I need a full TextEditor oriented towards Desktop Publishing.
> I do not really need many of the advanced fetures (Styles, alignment
> etc.) because I use my own markup, but I *do* need wordwrapping, text
> highlighting and spell-checking.
>
> Additional constraint is I need to edit a (possibly very long) String
> and not a file, otherwise I could use OpenOffice integration via UNO
> (I know it's overblown, but it would work).
>
> My current incarnation is based on AbstractTextEditor and I have
> several problems with it:
> Text Highlightingg works ok.
> Wordwrapping somewhat works, but is very buggy.
> I have not been able to make Spellchecking work at all.
> I still have some unresolved issues with drag/drop of text.
>
> Question is:
> Is there some kind of Text-editor I can integrate?
Take a look at
http://www.eclipse.org/eclipse/platform-text/development/rcp /examples/index.html
The only thing which is harder to do is spell checking. Depending on the
outcome of our investigations (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=185695) it might be easier
in 3.7.

Dani
> Othewise, can some kind soul help me sorting my problems (pointing me
> to the relevant documentation)?
>
> Thanks in Advance
> Mauro
>
> Il 09/08/2010 23:49, Mauro Condarelli ha scritto:
>> Hi,
>> I have big difficulties adding spelling support to my editor.
>> I need Italian dictionary so a plain wordlist spellchecker is not the
>> right choice.
>>
>> I am using Helios as development platform.
>>
>> I tried installing eSpell 3.4.2 from the bdaum site, is seems to work,
>> but I've not been able to find a suitable dictionary (it is said it
>> works with OpenOffice dictionaries, but I've been unable to make it work
>> in practice).
>>
>> Anyhow this wouldn't help me even if worked because I add the plugin
>> (com.bdaum,SpellChecker3) to my RCP app dependencies it refuses to start
>> with error:
>>
>> !SESSION 2010-08-09 17:07:07.559
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_21
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>> Framework arguments: -product Writer.product
>> Command-line arguments: -product Writer.product -data
>> C:\Users\Mauro\workspace/../runtime-Writer.product -dev
>> file:C:/Users/Mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product/dev.properties
>>
>> -os win32 -ws win32 -arch x86 -consoleLog
>>
>> !ENTRY org.eclipse.equinox.app 0 0 2010-08-09 17:07:09.084
>> !MESSAGE Product Writer.product could not be found.
>>
>> !ENTRY org.eclipse.osgi 2 0 2010-08-09 17:07:09.141
>> !MESSAGE One or more bundles are not resolved because the following root
>> constraints are not resolved:
>> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-09 17:07:09.142
>> !MESSAGE Bundle
>> initial@reference:file:../../Users/Mauro/workspace/it.condarelli.writer/
>> was not resolved.
>> !SUBENTRY 2 Writer 2 0 2010-08-09 17:07:09.142
>> !MESSAGE Missing required bundle com.bdaum.SpellChecker3_3.2.3.
>> ...
>>
>> The plugin is installed in eclipse and somewhat working.
>> What am I doing wrong?
>>
>> In general:
>> I need spell-checking in my editor.
>> Is this the right path?
>> Should I use some other plugin?
>>
>> Please advise.
>> Regards
>> Mauro
>
Re: Spelling (again) [message #552778 is a reply to message #552683] Fri, 13 August 2010 13:03 Go to previous message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Thanks for Your answer,
I know that page and several others on the same spirit.

Unforunately IMHO TextEdit is not a generic editing component and, most
likely will never be (cfr.:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=35779).

It seems much more a very specific IDE-oriented and IDE-integrated part.
Even if the current spelling engine is somehow detatched from JDT it
still remains a non-optimal engine, geared toward languages (like
english) that do not heavily use word modification. Integration of a
"serious" spelling engine (hunspell? aspell?) would be much better.

The real question is:

Is someone aware of a good (possibly free) editing *component* that can
be used with RCP?

I was investigating jintilla, but that seems a bit dead :(

Other things are really too big (see:
http://wiki.services.openoffice.org/wiki/OpenOffice_Eclipse_ Integration)

Is anyone aware of some other alternative?

Thanks in advance

Il 13/08/2010 09:39, Daniel Megert ha scritto:
> Mauro Condarelli wrote:
>> No takers?
>>
>> I will rephrase in another way.
>> Perhaps I will be lucky ;)
>>
>> I need a full TextEditor oriented towards Desktop Publishing.
>> I do not really need many of the advanced fetures (Styles, alignment
>> etc.) because I use my own markup, but I *do* need wordwrapping, text
>> highlighting and spell-checking.
>>
>> Additional constraint is I need to edit a (possibly very long) String
>> and not a file, otherwise I could use OpenOffice integration via UNO
>> (I know it's overblown, but it would work).
>>
>> My current incarnation is based on AbstractTextEditor and I have
>> several problems with it:
>> Text Highlightingg works ok.
>> Wordwrapping somewhat works, but is very buggy.
>> I have not been able to make Spellchecking work at all.
>> I still have some unresolved issues with drag/drop of text.
>>
>> Question is:
>> Is there some kind of Text-editor I can integrate?
> Take a look at
> http://www.eclipse.org/eclipse/platform-text/development/rcp /examples/index.html
> The only thing which is harder to do is spell checking. Depending on the
> outcome of our investigations (see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=185695) it might be easier
> in 3.7.
>
> Dani
>> Othewise, can some kind soul help me sorting my problems (pointing me
>> to the relevant documentation)?
>>
>> Thanks in Advance
>> Mauro
>>
>> Il 09/08/2010 23:49, Mauro Condarelli ha scritto:
>>> Hi,
>>> I have big difficulties adding spelling support to my editor.
>>> I need Italian dictionary so a plain wordlist spellchecker is not the
>>> right choice.
>>>
>>> I am using Helios as development platform.
>>>
>>> I tried installing eSpell 3.4.2 from the bdaum site, is seems to work,
>>> but I've not been able to find a suitable dictionary (it is said it
>>> works with OpenOffice dictionaries, but I've been unable to make it work
>>> in practice).
>>>
>>> Anyhow this wouldn't help me even if worked because I add the plugin
>>> (com.bdaum,SpellChecker3) to my RCP app dependencies it refuses to start
>>> with error:
>>>
>>> !SESSION 2010-08-09 17:07:07.559
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.6.0_21
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
>>> Framework arguments: -product Writer.product
>>> Command-line arguments: -product Writer.product -data
>>> C:\Users\Mauro\workspace/../runtime-Writer.product -dev
>>> file:C:/Users/Mauro/workspace/.metadata/.plugins/org.eclipse .pde.core/Writer.product/dev.properties
>>>
>>> -os win32 -ws win32 -arch x86 -consoleLog
>>>
>>> !ENTRY org.eclipse.equinox.app 0 0 2010-08-09 17:07:09.084
>>> !MESSAGE Product Writer.product could not be found.
>>>
>>> !ENTRY org.eclipse.osgi 2 0 2010-08-09 17:07:09.141
>>> !MESSAGE One or more bundles are not resolved because the following root
>>> constraints are not resolved:
>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-08-09 17:07:09.142
>>> !MESSAGE Bundle
>>> initial@reference:file:../../Users/Mauro/workspace/it.condarelli.writer/
>>> was not resolved.
>>> !SUBENTRY 2 Writer 2 0 2010-08-09 17:07:09.142
>>> !MESSAGE Missing required bundle com.bdaum.SpellChecker3_3.2.3.
>>> ...
>>>
>>> The plugin is installed in eclipse and somewhat working.
>>> What am I doing wrong?
>>>
>>> In general:
>>> I need spell-checking in my editor.
>>> Is this the right path?
>>> Should I use some other plugin?
>>>
>>> Please advise.
>>> Regards
>>> Mauro
>>
Previous Topic:Question about org.eclipse.core.runtime.jobs.Job
Next Topic:Architecture
Goto Forum:
  


Current Time: Fri Apr 26 14:41:54 GMT 2024

Powered by FUDForum. Page generated in 0.05208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top