cursorposities
Cursorposities is a term used in discussions of text editing systems to denote any possible position of the text insertion caret within a document. A cursorposity is typically specified either as an absolute offset from the start of the document or as a coordinate such as a line and column. In line-based editors, the line/column representation is natural, while in buffer models that store raw bytes, the offset may be the primary representation.
The concept underpins how editors handle cursor movement, text selection, and editing operations. Editors must translate
In modern editing environments there may be multiple cursorposities when using multiple cursors or selections, each
Applications of the cursorposity concept include rendering the caret, guiding incremental parsing, and implementing features like