Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How does the JDT Java editor display the 80-column limit line?
How does the JDT Java editor display the 80-column limit line? [message #249697] Mon, 19 November 2007 21:13 Go to next message
Eclipse UserFriend
I would think it's a feature inherited from TextEditor, but can't seem
to find the preference setting. Thanks.
Re: How does the JDT Java editor display the 80-column limit line? [message #249706 is a reply to message #249697] Tue, 20 November 2007 03:04 Go to previous messageGo to next message
Eclipse UserFriend
AL wrote:

> I would think it's a feature inherited from TextEditor,

It is.

> but can't seem to find the preference setting.

General > Editors > Text Editors > Show print margin

Dani

> Thanks.
Re: How does the JDT Java editor display the 80-column limit line? [message #249717 is a reply to message #249706] Tue, 20 November 2007 19:45 Go to previous messageGo to next message
Eclipse UserFriend
Daniel Megert wrote:
> AL wrote:
>
>> I would think it's a feature inherited from TextEditor,
>
> It is.
>
>> but can't seem to find the preference setting.
>
> General > Editors > Text Editors > Show print margin
>
> Dani
>
>> Thanks.

Uhmm...I have that turned on but my editor, which extends TextEditor,
does not show...
Re: How does the JDT Java editor display the 80-column limit line? [message #249721 is a reply to message #249717] Wed, 21 November 2007 04:27 Go to previous message
Eclipse UserFriend
AL wrote:

> Daniel Megert wrote:
>
>> AL wrote:
>>
>>> I would think it's a feature inherited from TextEditor,
>>
>>
>> It is.
>>
>>> but can't seem to find the preference setting.
>>
>>
>> General > Editors > Text Editors > Show print margin
>>
>> Dani
>>
>>> Thanks.
>>
>
> Uhmm...I have that turned on but my editor, which extends TextEditor,
> does not show...

Maybe you are not reading the corresponding preferences from the correct
preference store. In order use your own store and reading the shared
preferences from the editors plug-in (Generlal > Editors > Text Editors
prefs) you need to use a combined preference store along those lines:
IPreferenceStore generalTextStore=
EditorsUI.getPreferenceStore();
combinedPreferenceStore= new ChainedPreferenceStore(new
IPreferenceStore[] { getYourPreferenceStore(), generalTextStore });

HTH
Dani
Previous Topic:Is there anybody who knows how to add splash to eclipse startup?
Next Topic:Native2Ascii
Goto Forum:
  


Current Time: Fri Jun 06 07:08:35 EDT 2025

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

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

Back to the top