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
a0add68e927dee91091719c909369f36f4aa7a79
sml-projects
/
fcore
/
normal-mode
History
Humza Shahid
c29afbdb7c
fix minor bug regarding 'NormalMove.moveCursorDown': after a <count-j> that moved the cursor to the last line in the buffer, the cursor would be at the last column too, even if that wasn't the previous column. To address this issue, we take out code that calculates the lineIdx from the 'NormalMove.finishMoveCursorUpDown' function, and have both 'NormalMove.moveCursorUp' and 'NormalMove.moveCursorDown' calculate their own lineIdx in different ways and pass it to the 'NormalMove.finishMoveCursorUpAndDown' function.
2025-09-20 02:58:51 +01:00
..
make-normal-delete.sml
refactor Cursor.viH to use DFA
2025-09-17 10:45:37 +01: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
pass 'maxLength' value to TextScroll function so that we can prevent scrolling past the bottom of the file (unless we want to od so by centtering the screen)
2025-09-19 23:17:28 +01:00
normal-mode-with.sml
refactor to make sure that we count the visual scroll column on move/delete, in normal mode
2025-09-11 23:43:09 +01:00
normal-mode.sml
reimplement vi's 'j' motion, and remove the original function for this motion which was in cursor.sml
2025-09-19 22:33:37 +01:00
normal-move.sml
fix minor bug regarding 'NormalMove.moveCursorDown': after a <count-j> that moved the cursor to the last line in the buffer, the cursor would be at the last column too, even if that wasn't the previous column. To address this issue, we take out code that calculates the lineIdx from the 'NormalMove.finishMoveCursorUpDown' function, and have both 'NormalMove.moveCursorUp' and 'NormalMove.moveCursorDown' calculate their own lineIdx in different ways and pass it to the 'NormalMove.finishMoveCursorUpAndDown' function.
2025-09-20 02:58:51 +01:00
normal-search-finish.sml
pass 'maxLength' value to TextScroll function so that we can prevent scrolling past the bottom of the file (unless we want to od so by centtering the screen)
2025-09-19 23:17:28 +01:00
normal-search-mode-with.sml
a few bug fixes to NORMAL_SEARCH_MODE: the main one is that we were passing the general searchString to the resize function before, and we were drawing the wrong string because of that; another bug fix is that, on resizing, we have to update the mode to contain the recalculated searchScrollColumn
2025-09-14 10:28:42 +01:00
normal-search-mode.sml
a few bug fixes to NORMAL_SEARCH_MODE: the main one is that we were passing the general searchString to the resize function before, and we were drawing the wrong string because of that; another bug fix is that, on resizing, we have to update the mode to contain the recalculated searchScrollColumn
2025-09-14 10:28:42 +01:00
normal-yank-delete.sml
add yank-delete motions like 'ydw' and so on
2025-09-06 03:53:47 +01:00
normal-yank.sml
add a new test validating that the cursor does not move when cursor is on an empty line
2025-09-07 21:09:20 +01:00