Repository navigation
Conversation
…tion in the wrap line
Owner
|
Hello, thanks for the PR. |
Contributor
Author
|
I renamed a string key, then Android Studio automatically updated the string.xml files for all other languages (about 60 files) 🥲. Is it okay? |
Owner
|
If you can do a simple search+replace back it is better to review
|
harshad1
reviewed
Oct 31, 2026
| if (event.isCtrlPressed()) { | ||
| if (keyCode == KeyEvent.KEYCODE_B) { | ||
| onActionClick(R.string.abid_asciidoc_bold); | ||
| return true; |
Collaborator
There was a problem hiding this comment.
Thank you for maintaining the keyboard shortcuts!
harshad1
reviewed
Oct 31, 2026
harshad1
previously approved these changes
Oct 31, 2026
harshad1
left a comment
Collaborator
There was a problem hiding this comment.
Looks good
but please test setSelectionAndShow instead of just _hlEditor.setSelection(). IMO it usually works better
Contributor
Author
|
I have tried, it's bad to use TextViewUtils#setSelectionAndShow, which will trigger large scrolling, and force unwanted scrolling. I have tested, setSelection works well, it triggers moderate scrolling for a wrap line. It works well now: SVID_20261031_205924_1_compressed.mp4 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the issue that clicking the bottom jump action button cannot not scroll to the bottom position correctly in view mode.
Because
_webView.getContentHeight()and_webView.getScrollY()cannot return the actual page content height and scroll y. TheevaluateJavascriptapproach is the recommended best practice, which is highly compatible, precise and stable.Fixes #2908
Before
Cannot jump to the bottom.
SVID_20261027_130934_1.mp4
Now
Can jump to the bottom correctly and smoothly.
SVID_20261028_081220_1_compressed.mp4