|Re: Getting DOM Element from editor by line number only? [message #180920 is a reply to message #180428]
||Thu, 05 October 2006 13:26
|| Nitin Dahyabhai
Registered: July 2009
Brian Jakubik wrote:|
> I have the Editor, I have the IVerticalRulerInfo,
> I need to get the the DOM element for the line number, or the elment that
> spans the line number.
> Is this possible, how do I go about getting this
> Basically im trying to tie in the ruler and perform an action like toggle
> breakpoint, and need this info.
> Any help would be appreciated.
> Thanks in advance.
The provisional ISourceEditingTextTools interface can be found as an
adapter on the editor part. You'll have to cast the returned type
to the provisional IDOMSourceEditingTextTools interface to interact
with DOM objects. The
might be of interest, just as an example.
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.01443 seconds