None
DE
Text Coordinate Systems
[]
Zed Industries - Blog
let old_point = Point :: new ( 18 , 5 ); let new_point = Point :: new ( point .row + 1 , point .column); For now it's enough to know that the point I want to make is this: UTF-16, due to language servers, is so important to Zed that the SumTree , with which the Rope is implemented, already indexes UTF-16 points and offsets, resulting in two new text coordinate systems - PointUtf16 and OffsetUtf16 — and making the conversion to and from UTF-16 very quick. Anchors are related to positions in text documents, but very different from Points , Offsets , or DisplayPoint .