Skip to content

Commit

Permalink
fixed doc for haxe.display.Position.character to "1-based" instead of…
Browse files Browse the repository at this point in the history
… "zero-based" (fixes HaxeFoundation#6782)
  • Loading branch information
RealyUniqueName authored Jan 9, 2018
1 parent b3cc1d7 commit 2c4df24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/haxe/display/Position.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ typedef Position = {
var line:Int;

/**
Character offset on a line in a document (zero-based).
Character offset on a line in a document (1-based).
**/
var character:Int;
}
Expand All @@ -57,4 +57,4 @@ typedef Range = {
typedef Location = {
var file:String;
var range:Range;
}
}

0 comments on commit 2c4df24

Please sign in to comment.