Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » WST XML editor doesn't use IMARKER.CHAR_START/END?
WST XML editor doesn't use IMARKER.CHAR_START/END? [message #207269] Mon, 21 January 2008 10:06 Go to next message
Anders Olsson is currently offline Anders Olsson
Messages: 21
Registered: July 2009
Junior Member
Hello,

I'm adding error markers to XML files, which I edit with WST's XML editor.
If I set the attribute IMARKER.LINE_NUMBER the row gets an error marker.
But if I instead set IMARKER.CHAR_START and IMARKER.CHAR_END the problem
are only seen in the problems view, but nothing is seen in the XML editor.

Is it really so that WST doesn't use these attributes for marking in the
XML editor? I'm using WST version 2.0.1 on Eclipse 3.3.1.1

BR,

Anders Olsson
Re: WST XML editor doesn't use IMARKER.CHAR_START/END? [message #207439 is a reply to message #207269] Thu, 24 January 2008 12:55 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2133
Registered: July 2009
Senior Member
Anders Olsson wrote:
> I'm adding error markers to XML files, which I edit with WST's XML
> editor. If I set the attribute IMARKER.LINE_NUMBER the row gets an error
> marker. But if I instead set IMARKER.CHAR_START and IMARKER.CHAR_END the
> problem are only seen in the problems view, but nothing is seen in the
> XML editor.
>
> Is it really so that WST doesn't use these attributes for marking in the
> XML editor? I'm using WST version 2.0.1 on Eclipse 3.3.1.1

It does, but it's best to always set all three values.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Content Assist for StructuredTextEditor
Next Topic:How to start jboss4.2.2GA in eclipse
Goto Forum:
  


Current Time: Sun Apr 20 18:16:00 EDT 2014

Powered by FUDForum. Page generated in 0.01518 seconds