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
418 Commits 1 Branch 0 Tags
9e76a38ece650bffce906eee76627b68a4c55b15
Commit Graph

4 Commits

Author SHA1 Message Date
Humza Shahid
f2ec6b80c2 fix bug when the cursor is on the last column of a horizontally-scrollable line. Before this commit, the last column/character was not visible. Now it is. We fixed this by decrementing the 'howManyColumnsCanWeFit' value in the 'TesxtScroll.getScrollColumn' function by 1. This works because it was an off-by-one error that caused this bug in the first place (we didn't previously count column 0 as visible and taking up space) 2025-09-13 01:03:44 +01:00
Humza Shahid
dfb7ecb867 add new function to calculate the startLine 2025-09-11 17:30:49 +01:00
Humza Shahid
580f014481 fix getScrollColumn calculation: the right calculation is to subtract the column number by how many columns we can fit 2025-09-11 17:09:43 +01:00
Humza Shahid
77439acef6 add function to get the appropriate scroll column 2025-09-11 16:17:56 +01:00
Powered by Gitea Version: 1.25.5 Page: 617ms Template: 3ms
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