sttanko
sttanko

Reputation: 15

How to set column on right side of editor plug-in eclipse project?

I created column in custom editor in eclipse plug in project, but it is on left side of editor, how i can force it to be on right side of editor? My column extends org.eclipse.jface.text.source.LineNumberRulerColumn.

My editor should looks like this:

left column | editor | right column

Left and right columns will contain codes, addresses and asm code. How i can do that?

Upvotes: 0

Views: 78

Answers (1)

greg-449
greg-449

Reputation: 111142

I don't think you can easily. The ruler on the right hand side of the text editor is the overview ruler used for showing annotations.

The right hand ruler is created by AbstractDecoratedTextEditor.createOverviewRuler, you could try overriding that.

Upvotes: 1

Related Questions