mirror of
https://github.com/golang/go
synced 2024-11-18 09:04:49 -07:00
72ffa07ba3
On the assumption these implementations are designed to support/implement the LSP spec, FromUTF16Column should handle the case where a character value is beyond the end of the line. https://github.com/Microsoft/language-server-protocol/blob/gh-pages/specification.md#position: > * If the character value is greater than the line length it defaults back to the > * line length. Fixes golang/go#31883 Change-Id: I370845b7f2f046d8e84048a26bae5b23e9c27d06 Reviewed-on: https://go-review.googlesource.com/c/tools/+/185058 Run-TryBot: Paul Jolly <paul@myitcv.org.uk> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
parse.go | ||
span_test.go | ||
span.go | ||
token111.go | ||
token112.go | ||
token_test.go | ||
token.go | ||
uri_test.go | ||
uri.go | ||
utf16_test.go | ||
utf16.go |