[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Spelling check with my editor

AL wrote:

AL wrote:

Hi,

I have an editor that extends TextEditor. I have found that the spelling mechanism gets kicked in and stops at SpellingReconcileStrategy.reconcile(IRegion). And it goes through the spelling check and fires event(s) on misspelled words, but how come the misspelled words in my editor are not annotated with the wiggly red line?

Thanks for any tips.


Found out the problem, apparently MyEditor overrides AbstractDecoratedTextEditor.createSourceViewer() to create my own source viewer. I can't simply call super.createSourceViewer() at the beginning or end of MyEditor.createSourceViewer(), as it screws up Eclipse's text framework.

Sure it does. Creating two source viewers is bogus isn't it?

Dani

This could be a known issue.