Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Spell checking in Xdoc
Spell checking in Xdoc [message #908670] Wed, 05 September 2012 15:19 Go to next message
Christoph Kulla is currently offline Christoph Kulla
Messages: 47
Registered: July 2009
Member
Hi,

I'm currently investigating Xdoc as the documentation format for an
internal project. Is Xdoc supposed to do spell checking of the entered
text? My experience is that there is no spell checking for the document
itself, but there is spell checking in %% comments. Is this a
configuration issue or a bug?

Cheers,

Christoph
Re: Spell checking in Xdoc [message #912982 is a reply to message #908670] Fri, 14 September 2012 10:34 Go to previous messageGo to next message
Christoph Kulla is currently offline Christoph Kulla
Messages: 47
Registered: July 2009
Member
Hi,

nobody using Xdoc here? What is the Xtext team saying?

Cheers,

Christoph

On 9/5/12 9:19 PM, Christoph Kulla wrote:
> Hi,
>
> I'm currently investigating Xdoc as the documentation format for an
> internal project. Is Xdoc supposed to do spell checking of the entered
> text? My experience is that there is no spell checking for the document
> itself, but there is spell checking in %% comments. Is this a
> configuration issue or a bug?
>
> Cheers,
>
> Christoph
Re: Spell checking in Xdoc [message #912994 is a reply to message #912982] Fri, 14 September 2012 10:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5849
Registered: July 2009
Senior Member
Hi,

guess it is a faulty/not implemented customization of XtextSpellingReconcileStrategy.shouldProcess

~Christian
Re: Spell checking in Xdoc [message #913005 is a reply to message #912994] Fri, 14 September 2012 11:25 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5849
Registered: July 2009
Senior Member
Hi,

just found there is a little typo in the xdoc ui modules
the following should fix it

public Class<? extends XtextSpellingReconcileStrategy.Factory> bindXtextSpellingReconcileStrategy$Factory() {
		return XdocSpellingReconcileStrategy.factory.class;
	}


~Christian
Re: Spell checking in Xdoc [message #916037 is a reply to message #913005] Tue, 18 September 2012 08:49 Go to previous message
Christoph Kulla is currently offline Christoph Kulla
Messages: 47
Registered: July 2009
Member
Thanks Christian, that did the trick. I'll submit an issue about this in the xdoc github repo.

Cheers,

Christoph
Previous Topic:Label Decorators Trace - Common Navigator for Xtext-based Project
Next Topic:deleted
Goto Forum:
  


Current Time: Sun Apr 20 16:04:16 EDT 2014

Powered by FUDForum. Page generated in 0.01854 seconds