1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:44:42 -07:00
go/internal/span
Ian Cottrell 48d47c461c internal/span: fix utf16 column when span is line based
A span with column 0 is intended to mean the start of the line, which in utf16
mode must be the 1st character

Change-Id: I4b98fe86528b889bbfe4b5ed3ae79c4da81017b1
Reviewed-on: https://go-review.googlesource.com/c/tools/+/167459
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-13 22:14:19 +00:00
..
parse.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
span_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
span.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token.go internal/lsp: convert to the new location library 2019-03-13 19:34:21 +00:00
uri_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
uri.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
utf16_test.go internal/lsp: adding utf16 handling to the span package 2019-03-11 21:50:38 +00:00
utf16.go internal/span: fix utf16 column when span is line based 2019-03-13 22:14:19 +00:00