go/internal/diff
Alan Donovan 29429f53af gopls/internal/lsp/source: sort protocol edits
The LSP protocol doesn't require edits to be sorted,
but some clients such as govim were relying on it,
as we learned when I recently removed the sort.
This change restores the sort behavior.

See also govim/govim#1171

Change-Id: I589b6cfde933ea6907859bf40acd33c1a7fcde02
Reviewed-on: https://go-review.googlesource.com/c/tools/+/442256
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
2022-10-11 18:07:12 +00:00
..
difftest internal/diff: ToUnified may fail 2022-10-07 15:16:55 +00:00
lcs gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
myers internal/diff: simplify API, break span dependency 2022-10-05 20:32:15 +00:00
diff.go gopls/internal/lsp/source: sort protocol edits 2022-10-11 18:07:12 +00:00
diff_test.go internal/diff: ToUnified may fail 2022-10-07 15:16:55 +00:00
export_test.go internal/diff: avoid unnecessary allocations 2022-10-07 14:48:35 +00:00
ndiff.go all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
unified.go internal/diff: ToUnified may fail 2022-10-07 15:16:55 +00:00