Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » getIndentPrefixes and getIndentPrefixesForTab return values
getIndentPrefixes and getIndentPrefixesForTab return values [message #723097] Wed, 07 September 2011 11:41
Eclipse UserFriend
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: Tue Jul 08 15:49:05 EDT 2025

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

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

Back to the top