Summary: | api: IScanner - Scanner.linePtr | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2002-04-16 13:02:38 EDT
What behavior do you need exactly ? (sorry it took so long to answer) there's no token for EOL, so it's not easy to figure out which line i'm in without access to that field i mean, i could do it with getLineEnds and getCurrentTokenStartPosition but it would be suboptimal i think What if instead you had: IScanner.getLineNumber(int charPosition) ? would do, i think Fixed |