Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TAB-character(How to get the number of spaces it represents ?)
TAB-character [message #522749] Tue, 23 March 2010 20:05 Go to next message
Kitesurfer () is currently offline Kitesurfer ()
Messages: 84
Registered: December 2009
Member
Hi,
For a plugin I have to get the number of spaces that is configured for the Tab-character. How do I do this ?

Thanks.
Re: TAB-character [message #539924 is a reply to message #522749] Mon, 14 June 2010 09:44 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Kitesurfer wrote:
> Hi,
> For a plugin I have to get the number of spaces that is configured for
> the Tab-character. How do I do this ?
See
org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPrefere nceConstants.EDITOR_TAB_WIDTH.
Note that the Java editor uses it's own preference, so that would not
work there.

Dani
>
> Thanks.
Previous Topic:Search Resources in Referenced LIbraries
Next Topic:Non-contiguous text selection
Goto Forum:
  


Current Time: Tue Sep 23 00:26:09 GMT 2014

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

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