Logo
Explore Help
Register Sign In
humza/sml-projects
1
0
Fork 0
You've already forked sml-projects
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
784 Commits 1 Branch 0 Tags
742b571b4eb2c9dad678d6d1240854ae38c32fb5
Commit Graph

6 Commits

Author SHA1 Message Date
Humza Shahid
d63201ada7 reimplement vi's 'l' motion so that we only skip a newline when it is preceded by a non-newline character 2025-09-21 17:49:30 +01:00
Humza Shahid
ad7d103f61 rename 'ViLDfa' structure to 'ViHlDfa' since this DFA implements both vi's 'h' motion and vi's 'l' motion 2025-09-17 11:02:11 +01:00
Humza Shahid
dbf05ec8dc refactor Cursor.viH to use DFA 2025-09-17 10:45:37 +01:00
Humza Shahid
9ddb5f68d7 fix bugs in vi-l-dfa (we want to stop looping when the counter is ~1, because the starting character will likely be final/a not-newline, and we want to loop at least once; also, we want to special case 'twoNewlineState' as a final case which causes us to go backwards by 1 instead of treating 'oneNewlineState' as a final/special case). We also modify other code to use the new vi-l implementation in the program. 2025-09-17 03:52:31 +01:00
Humza Shahid
5174a5b0a4 adjustments to vi-l-dfa: we should accept a single-newline as a final state, but not a double-newline 2025-09-17 02:35:32 +01:00
Humza Shahid
161caee62a create DFA for Vi's 'l' motion 2025-09-17 02:31:38 +01:00
Powered by Gitea Version: 1.25.5 Page: 449ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API