Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Line Numbering in text editors
Line Numbering in text editors [message #290913] Fri, 02 September 2005 19:55 Go to next message
Matt is currently offline MattFriend
Messages: 40
Registered: July 2009
Member
Hi,

Quick question. When I invoke createLineNumberRulerColumn(), a column
appears but the numbers don't. How do you configure the column to show
them?

I thought using initializeLineNumberRulerColumn() would work, but it is
called from within createLineNumberRulerColumn(). Any thoughts?

Thanks.

Matt
Re: Line Numbering in text editors [message #291003 is a reply to message #290913] Tue, 06 September 2005 08:18 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
On Fri, 2005-09-02 at 19:55 +0000, Matt wrote:
> Hi,
>
> Quick question. When I invoke createLineNumberRulerColumn(), a column
> appears but the numbers don't. How do you configure the column to show
> them?
>
> I thought using initializeLineNumberRulerColumn() would work, but it is
> called from within createLineNumberRulerColumn(). Any thoughts?

Could it be that your preference store does not contain the values
needed by initializeLineNumberRulerColumn()? You should set a preference
store to your editor that either contains these values (see
AbstractDecoratedTextEditorPreferenceConstants.initializeDef aultValues)
or use a hierarchical preference store that forwards to the EditorsUI
preferences (see ChainedPreferenceStore).

-tom
Previous Topic:Plugin using javax.comm
Next Topic:How to associate a file with a compiler
Goto Forum:
  


Current Time: Thu May 09 21:17:02 GMT 2024

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

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

Back to the top