Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Marker Disappears in Editor
Marker Disappears in Editor [message #261277] Wed, 16 July 2008 18:53 Go to next message
Eclipse UserFriend
Originally posted by: snadav.il.ibm.com

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?
Re: Marker Disappears in Editor [message #261343 is a reply to message #261277] Thu, 17 July 2008 08:54 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Nadav Steindler wrote:
> 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.
Can you attach screenshots?

Dani
>
> How can I fix this? Is there some layering or priority value for
> markers to set what marker appears on top of what?
>
Previous Topic:"Available Software" Install disabled
Next Topic:Ganymede fails after update
Goto Forum:
  


Current Time: Wed Jan 15 07:00:25 GMT 2025

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

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

Back to the top