The fight continues for pde specific offset mapping.

This commit is contained in:
Manindra Moharana
2013-06-21 00:45:57 +05:30
parent 7cac0a0d0d
commit f418e7750d
3 changed files with 56 additions and 28 deletions

View File

@@ -810,6 +810,10 @@ public class ErrorCheckerService implements Runnable{
return new int[] { codeIndex, x };
}
public String getPDECode(int linenumber){
return editor.ta.getLineText(linenumber);
}
/**
* Calculates the tab number and line number of the error in that particular
* tab. Provides mapping between pure java and pde code.