|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds