Skip to main content


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 ()Friend
Messages: 87
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 MegertFriend
Messages: 3802
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: Thu Mar 28 10:07:28 GMT 2024

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

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

Back to the top