[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Problem Annotaion Message

Yes, I'm talking about the TextEditor. I see the messages in the Problem View correctly. I set the messages like this:

IMarker marker = file.createMarker(IMarker.PROBLEM);
marker.setAttribute(IMarker.MESSAGE, e.getMessage());
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);

Hm, not much that can be done wrong ...

Daniel Megert wrote:
Martin Tauber wrote:
I have created markers, which nicely appear in the TextEditor. When I now move the cursor over the problem icon, it doesn't show the message text as in the java editor. What do I have to do, to make it show the message?
You are talking about the existing editor not your own, right? Are you sure you've correctly set the message attribute?

Dani

Thanks Martin