-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PowerPoint caret reporting when text contains wide characters, and overall improvement of TextInfo implementation #17015
Conversation
… well as other improvements
WalkthroughThe changes to the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work Leonard. Just a couple of small changes :)
Co-authored-by: Sascha Cowley <[email protected]>
Can you please resolve the merge conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LeonarddeR. Just a minor change to the changes entry, and a question about some method documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LeonarddeR, nice work.
Link to issue number:
Fixes #17006
Fixes #9941
Summary of the issue:
Wide character reporting in PowerPoint was broken.
Description of user facing changes
Description of development approach
The TextInfo implementation for PowerPoint turns out to be pretty incomplete. I added offset calculations for characters, words and paragraphs.
Testing strategy:
Tested the several implemented methods using the Python Console, as well as sentence navigation with alt+up/downArrow
Known issues with pull request:
None known
Code Review Checklist:
Summary by CodeRabbit
New Features
Bug Fixes
Refactor