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
916e94eaaaf8ea2540e97ce957fce25c0c7eb771
sml-projects
/
fcore
/
text-builder
/
text-builder-with-cursor.sml
Humza Shahid
916e94eaaa
fix bug: when we want to skip to next line in TextBuilderWithCursor, we were using binary search on the search list. The search list contained the indices of matched searches, but what we wanted to use binary search on are the lines, as the lines can help us find the next linebreak if any. So, we perform binary search on the lines vector this time to fix the bug.
2025-09-13 02:48:07 +01:00
7.7 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink