|getIndentPrefixes and getIndentPrefixesForTab return values [message #723097]
||Wed, 07 September 2011 15:41
| Ali Ghorashi
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.01356 seconds