[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Disappearing marker problem

I'm developing a plugin for eclipse which allows one to add a comment to a particular line of code. This is done as an extension to the standard Editor for Java code, and when a comment is added, my own custom marker appears in the ruler on the left side of the editor(just like breakpoints).

The bug occurs when adding a comment to the first line of a function. If the cursor is outside of the function, it works fine-- my marker appears in the ruler on top of the shading for current scope. However, when the cursor is within the function, my marker disappears, apparently overwritten by the start of the shading.

How can I fix this? Is there some layering or priority value for markers to set what marker appears on top of what?