Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Source Viewer Adjustements

Hi Frerich,

It is by the annotations.

for example the current line annotation is created in the
org.eclipse.debug.internal.ui.InstructionPointerManager class

addAnnotation(ITextEditor textEditor, IStackFrame frame, Annotation annotation) method

Regards,
Alex

Frerich Raabe wrote:
Hi,

this might not be a DLTK-specific question, but maybe the DLTK-based editors have an easier way to achieve this: I'd like to highlight specific lines programatically (similiar to the blueish bar which is shown when moving the cursor around a piece of source code). JDT does this fairly nicely (when hitting a breakpoint, the current line is highlighted) but I'm not sure how it's done. Does anybody have a hint?



Back to the top