This commit is contained in:
Alexander Wang 2023-03-14 00:36:46 -07:00
parent c79a9ed366
commit 7e4deb1618
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -159,9 +159,9 @@ func (r Range) Before(r2 Range) bool {
//
// note: Line and Column are zero indexed.
// 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.
// If intended for Javascript consumption like in the browser or via LSP, byUTF16 is
// set to true.
// . which they are UTF-16 code unit indexes.
// . If intended for Javascript consumption like in the browser or via LSP, byUTF16 is
// . set to true.
type Position struct {
Line int
Column int