Community
Participate
Working Groups
20020412 i can't find a good way to get the old Scanner.linePtr funtionality in the api scanner (i need read access to that field)
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