Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error marker is missing with StyledTextXtextAdapter(The vertical error markers are missing on StyledText with StyledTextXtextAdapter)
Error marker is missing with StyledTextXtextAdapter [message #1090668] Tue, 20 August 2013 13:28
Priya Sabut is currently offline Priya SabutFriend
Messages: 41
Registered: September 2012
Member
Hi All,

I am using StyledTextXtextAdapter to enable Xtext-editing functionality with StyledText(SWT control)inside my form-based eclipse editor. I am using de.itemis.xtext.utils.jface project by provided by yakindu project.

StyledText stext = new StyledText();
xTextAdaptor = new StyledTextXtextAdapter(getInjector());
xTextAdaptor.adapt(stext);

I am getting xtext features like syntax highlighting, content assistance and code completion. But the error markers are showing partially ad red lines under the text but no red squiggly markers are there at vertical side.

How can I add error markers as squiggly into StyledText ?

P.S.
I have added embeddedEditor into a view to do the same and the error markers are coming as red squiggles.

Attachment Details:
Image1 with styledtext - no error squiggly
Image2 with embeddedEditor - with error squiggly
  • Attachment: Image1.jpg
    (Size: 13.30KB, Downloaded 177 times)
  • Attachment: Image2.jpg
    (Size: 10.72KB, Downloaded 159 times)
Previous Topic:Difference resource.getContents().get(0) and parseresult.rootASTElement
Next Topic:ISemanticModification problems
Goto Forum:
  


Current Time: Fri Apr 19 12:37:36 GMT 2024

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

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

Back to the top