Hi Gayan

I wonder how you can have an available engine without knowing how to 
register it.

Anyway, take a look at 
https://help.eclipse.org/2020-03/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_workbench_texteditor_spellingEngine.html

HTH
Dani



From:   Gayan Perera <gayan...@gmail.com>
To:     "Eclipse platform general developers list." 
<platform-dev@eclipse.org>
Date:   31.03.2020 10:18
Subject:        [EXTERNAL] Re: [platform-dev] Enabling spell editor on a 
customer editor
Sent by:        platform-dev-boun...@eclipse.org



Hi Daniel,

How do you register the spell checker engine in text editor provided that 
the engine is available? A code snippet or documentation will be 
really helpful. 

Br,
Gayan

On Tue, 31 Mar 2020 at 08:25, Daniel Megert <daniel_meg...@ch.ibm.com> 
wrote:
> IIRC JDT contains currently the spell checker code and we have a long 
outstanding bug to move this functionality to text to make it available 
for more editors.

This is true (see https://bugs.eclipse.org/185695). Note though, that the 
framework to register spelling engines is in Platform Text, but the 
concrete engine together with the dictionaries is in JDT UI. You would 
either have to require JDT UI (org.eclipse.jdt.ui) or implement your own 
engine.

Dani



From:        Lars Vogel <lars.vo...@vogella.com>
To:        "Eclipse platform general developers list." <
platform-dev@eclipse.org>
Date:        30.03.2020 20:44
Subject:        [EXTERNAL] Re: [platform-dev] Enabling spell editor on a 
customer editor
Sent by:        platform-dev-boun...@eclipse.org



Hi,

IIRC JDT contains currently the spell checker code and we have a long 
outstanding bug to move this functionality to text to make it available 
for more editors.

Best regards, Lars

Gayan Perera <gayan...@gmail.com> schrieb am Mo., 30. März 2020, 20:42:
Hi,

I'm trying to enable spell editing on the customer editor which is written 
on top on TextEditor. How do i enable spell check on this editor. I'm 
trying to make a contribution to 
https://github.com/RepreZen/KaiZen-OpenAPI-Editor/blob/master/com.reprezen.swagedit.core/src/com/reprezen/swagedit/core/editor/JsonEditor.java
 so that we can spell check the comments and descriptions in swagger 
files.

Br,
Gayan.
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev




_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to