[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: Display problem markers and overview ruler in custom editor
|
OK - fixed it myself.
I'd set the preference store in my editor to my plug-in's own store, and
this prevented it from getting the standard text editor preferences.
Removing the call to setPreferenceStore() resolved the issue.
"Adrian" <asuresh.spam@xxxxxxxxxxxxxx> wrote in message
news:dvjsp6$iu2$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'm writing an Eclipse plug-in with an editor and would like to display
> problem markers in my editor.
>
> I've added problem markers to the corresponding resources using
> resource.createMarker(IMarker.PROBLEM), but the only marker that is
> displayed in the editor is the icon on the left ruler.
>
> I have two questions:
> - How do I get the squiggly underlined markers to appear under the
> corresponding text?
> - How do I display the overview ruler (on the right) and get problem
> markers to display in this?
>
> Thanks,
>
> Adrian
>