Sketch Outline Tool like thing implemented temporarily. Should help me see things clearly.

This commit is contained in:
Manindra Moharana
2013-06-18 02:03:45 +05:30
parent a988b74785
commit a2cf09f7fe
3 changed files with 31 additions and 10 deletions

View File

@@ -66,9 +66,12 @@ public class ASTNodeWrapper {
*
* @param ecs
* - ErrorCheckerService instance
* @return int[0] - tab number, int[1] - line number in the int[0] tab, int[2]
* - line start offset, int[3] - offset from line start int[2] and
* int[3] are on TODO
*/
public int[] getPDECodeOffsets(ErrorCheckerService ecs) {
return ecs.JavaToPdeOffsets(lineNumber, node.getStartPosition());
return ecs.JavaToPdeOffsets(lineNumber + 1, node.getStartPosition());
}
public String toString() {