D7: editor multi-cursor support

Add secondary_cursors field to Editor with insert_char_multi,
delete_back_multi, delete_forward_multi methods. Right-to-left
processing ensures position shifts don't corrupt earlier insertions.

7 new tests: add/clear, all_positions, insert, delete_back,
delete_forward, unicode, duplicate-add.
This commit is contained in:
2026-07-05 22:29:19 +03:00
parent 7a2b0d5160
commit b8aac3c9bc
2226 changed files with 876572 additions and 2382 deletions
@@ -51,7 +51,7 @@ perform pattern-matching on text. The manual includes both tutorial and
reference sections.
This edition of The flex Manual documents flex version 2.6.4. It
was last updated on 12 May 2026.
was last updated on 5 July 2026.
This manual was written by Vern Paxson, Will Estes and John Millaway.
+2 -2
View File
@@ -1,4 +1,4 @@
@set UPDATED 12 May 2026
@set UPDATED-MONTH May 2026
@set UPDATED 5 July 2026
@set UPDATED-MONTH July 2026
@set EDITION 2.6.4
@set VERSION 2.6.4
@@ -1,4 +1,4 @@
@set UPDATED 12 May 2026
@set UPDATED-MONTH May 2026
@set UPDATED 5 July 2026
@set UPDATED-MONTH July 2026
@set EDITION 2.6.4
@set VERSION 2.6.4