* convert tabs to spaces. * i is the position of the character to convert to spaces. * tabIncrementIn is the increment that must be added for tab indent characters * to get the correct column for the current tab. */
| 1306 | * to get the correct column for the current tab. |
| 1307 | */ |
| 1308 | int ASBeautifier::convertTabToSpaces(int i, int tabIncrementIn) const |
| 1309 | { |
| 1310 | int tabToSpacesAdjustment = indentLength - 1 - ((tabIncrementIn + i) % indentLength); |
| 1311 | return tabToSpacesAdjustment; |
| 1312 | } |
| 1313 | |
| 1314 | /** |
| 1315 | * trim removes the white space surrounding a line. |
nothing calls this directly
no outgoing calls
no test coverage detected