Design general abstraction for movements / semantic locations #44
Labels
discussion
Topics that needs design / architecture discussions
topic-core
Things related to the editor core
Milestone
Both for actual cursor-movement, as well as for things like "double-click-on-word", adding a new cursor etc it is required to describe positions in the document on a semantic level, often relative to the current cursor position.
We should design an abstraction that can define things such as "Next start of a word", "next end of a word", "end of line", "next occurrence of
/foo/
", "previous occurrence of character)
", which would then allow us to use it in movement commands as well as any other abstractions (motion-based edit commands such as vim-stylediw
,cw
,dt)
, etc)The text was updated successfully, but these errors were encountered: