This website requires JavaScript.
Explore
Help
Register
Sign In
humza
/
sml-projects
Watch
1
Star
0
Fork
0
You've already forked sml-projects
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
2ee963a3d875f43b572db3b124523d6b85968ea8
sml-projects
/
fcore
/
normal-mode
History
Humza Shahid
2ee963a3d8
done implementing tests for yank. Also simplify 'NormalDelete.deleteLineDown' and 'NormalYank.yankLineDown' functions by removing an if-branch which can never trigger. (The code path can only be executed in the event that 'endLineIdx' is on a newline, and there is an if-expression in that branch checking whether 'endLineIdx' is on a newline, which is redundant.)
2026-01-31 22:20:52 +00:00
..
make-normal-delete.sml
done implementing tests for yank. Also simplify 'NormalDelete.deleteLineDown' and 'NormalYank.yankLineDown' functions by removing an if-branch which can never trigger. (The code path can only be executed in the event that 'endLineIdx' is on a newline, and there is an if-expression in that branch checking whether 'endLineIdx' is on a newline, which is redundant.)
2026-01-31 22:20:52 +00:00
normal-delete.sml
functorise NormalDelete structure so we can use share the same deletion logic and code for NormalDelete and NormalYankDelete (the latter which is not yet implemented)
2025-09-06 03:43:45 +01:00
normal-finish.sml
remove usage of concurrent ml, deciding that we prefer to run everything in the main thread instead
2025-10-17 23:08:16 +01:00
normal-mode-with.sml
remove 'searchString' field from app_type, because the same role is fulfilled by new 'dfa' field
2025-10-08 05:40:29 +01:00
normal-mode.sml
implement 'yj' motion. (Next: add tests for it.)
2026-01-31 12:05:16 +00:00
normal-move.sml
reimplement '/home/humza/Downloads/sml/shf/todo.md' motion so that it has the same behaviour as Vim. (If the cursor is not at a pair character, then check after the cursor to see if we find a pair-character there. If some location after the cursor has a pair-character, then move the cursor to it and find the pair of the character, if any.)
2026-01-01 06:58:30 +00:00
normal-search-finish.sml
pass DFA to 'SearchList.buildRange' function, so that we don't need to parse search string into DFA each time
2025-10-08 05:20:33 +01:00
normal-search-mode-with.sml
remove 'searchString' field from app_type, because the same role is fulfilled by new 'dfa' field
2025-10-08 05:40:29 +01:00
normal-search-mode.sml
fix bug when saving search from NORMAL_SEARCH_MODE. Previously, when pressing <Enter> to save the search, the tempSearchList (which searches against a subset of the buffer's text instead of all of it, to ensure we do not spend too much time was spent while the user was entering the regex/search string) was being saved instead of the newly built searchList (which executes the DFA against all of the text)
2025-12-02 17:55:25 +00:00
normal-yank-delete.sml
seems like 'NormalYankDelete' functions need to yank one character more than the deletion range, so implement that, and make note to add tests for that module
2026-01-23 21:08:12 +00:00
normal-yank.sml
done implementing tests for yank. Also simplify 'NormalDelete.deleteLineDown' and 'NormalYank.yankLineDown' functions by removing an if-branch which can never trigger. (The code path can only be executed in the event that 'endLineIdx' is on a newline, and there is an if-expression in that branch checking whether 'endLineIdx' is on a newline, which is redundant.)
2026-01-31 22:20:52 +00:00