Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » getIndentPrefixes and getIndentPrefixesForTab return values
getIndentPrefixes and getIndentPrefixesForTab return values [message #723097] Wed, 07 September 2011 15:41
Ali Ghorashi is currently offline Ali GhorashiFriend
Messages: 20
Registered: July 2009
Junior Member
Hello All,
I have a simple question regarding getIndentPrefixesForTab and getIndentPrefixes. Both these functions return a String array. What does each element in the array supposed to represent? For getIndentPrefixes, it seems like the first element is used to indent a line when the tab key is pressed but what are the other ones for?

Also, in the documentation for getIndentPrefixes, it says "Subclasses should overwrite this method and use getIndentPrefixesForTab(int) if applicable". Does that mean that a new getIndentPrefixes override should just call getIndetPrefixesForTab? If so, how do you compute the tabWidth parameter?

Thank,
-Ali
Previous Topic:AntRunner & BuildLogger
Next Topic:Introducing builder for existing projects
Goto Forum:
  


Current Time: Sun Sep 20 09:17:08 GMT 2020

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

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

Back to the top