mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-25 05:29:07 -05:00
Remove one-based helper function.
This commit is contained in:
@@ -756,7 +756,10 @@ module ts {
|
||||
}
|
||||
|
||||
public getOneBasedLineAndCharacterOfPosition(position: number): LineAndCharacter {
|
||||
return ts.getOneBasedLineAndCharacterOfPosition(this, position);
|
||||
var result = ts.getZeroBasedLineAndCharacterOfPosition(this, position);
|
||||
result.line++;
|
||||
result.character++;
|
||||
return result;
|
||||
}
|
||||
|
||||
public getLineStarts(): number[] {
|
||||
|
||||
Reference in New Issue
Block a user