fmt
This commit is contained in:
parent
c79a9ed366
commit
7e4deb1618
1 changed files with 3 additions and 3 deletions
|
|
@ -159,9 +159,9 @@ func (r Range) Before(r2 Range) bool {
|
||||||
//
|
//
|
||||||
// note: Line and Column are zero indexed.
|
// note: Line and Column are zero indexed.
|
||||||
// note: Column and Byte are UTF-8 byte indexes unless byUTF16 was passed to Position.Advance in
|
// note: Column and Byte are UTF-8 byte indexes unless byUTF16 was passed to Position.Advance in
|
||||||
// which they are UTF-16 code unit indexes.
|
// . which they are UTF-16 code unit indexes.
|
||||||
// If intended for Javascript consumption like in the browser or via LSP, byUTF16 is
|
// . If intended for Javascript consumption like in the browser or via LSP, byUTF16 is
|
||||||
// set to true.
|
// . set to true.
|
||||||
type Position struct {
|
type Position struct {
|
||||||
Line int
|
Line int
|
||||||
Column int
|
Column int
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue