Fixes #6281: Do not truncate line number, column in position

This commit is contained in:
Alex Dima
2016-05-13 15:09:57 +02:00
parent de77d32034
commit 8cd47bb55e
2 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ export class Position implements IEditorPosition {
public column: number;
constructor(lineNumber: number, column: number) {
this.lineNumber = lineNumber|0;
this.column = column|0;
this.lineNumber = lineNumber;
this.column = column;
}
public equals(other:IPosition): boolean {