mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-06 18:24:36 +01:00
Rework LineTable. Now that line table is just a collection of `Substring`. Derive UTF16/UTF8 offset from corresponding view of the content String. Added several methods to translate between line/UTF(8|16)column and UTF8 offset. Resolves: https://bugs.swift.org/browse/SR-9311