Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Commercial » Disappearing marker problem
Disappearing marker problem [message #15677] Thu, 17 July 2008 07:49 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: Disappearing marker problem [message #16115 is a reply to message #15677] Thu, 17 July 2008 14:47 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

This question does not belong on the eclipse.commercial newsgroup. Try
eclipse.platform or eclipse.tools.jdt instead.

Nadav 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.
>
> How can I fix this? Is there some layering or priority value for
> markers to set what marker appears on top of what?
>
>
Re: Disappearing marker problem [message #565699 is a reply to message #15677] Thu, 17 July 2008 14:47 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
This question does not belong on the eclipse.commercial newsgroup. Try
eclipse.platform or eclipse.tools.jdt instead.

Nadav 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.
>
> 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:[ANN] openArchitectureWare and EMF training now available in the UK
Next Topic:Team Update CVS command
Goto Forum:
  


Current Time: Thu Mar 28 10:23:14 GMT 2024

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

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

Back to the top