Skip to content

Add support for static cursor#2807

Open
guanglinn wants to merge 4 commits intogsantner:masterfrom
guanglinn:static_cursor
Open

Add support for static cursor#2807
guanglinn wants to merge 4 commits intogsantner:masterfrom
guanglinn:static_cursor

Conversation

@guanglinn
Copy link
Copy Markdown
Contributor

@guanglinn guanglinn commented Apr 24, 2026

This PR implemented "static cursor" for feature requests #2525 #2790 #2792

Screenshot_20260424_222604.jpg

/**
* Static cursor drawer for EditText.
*/
static class StaticCursorDrawer {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General note for the future:

One of the annoying things in todo.txt is that increasing the line spacing also grows the cursor height for the first and last visual line per item. If we are going to draw the cursor, we can manually force the cursor height to be consistent

Copy link
Copy Markdown
Contributor Author

@guanglinn guanglinn Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it can solve that problem in todo.txt

This is before

Screenshot_20260425_061459.jpg

This is now, enabled static cursor

Screenshot_20260427_114605_net.gsantner.markor_test_edit_1054853967512997.jpg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very nice! Thank you!

harshad1
harshad1 previously approved these changes Apr 24, 2026
@guanglinn
Copy link
Copy Markdown
Contributor Author

Screen recording

SVID_20260425_055243_1.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants