Skip to content

Implement bounding rectangle support for java text ranges#10157

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:javaBoundingRect
Sep 3, 2019
Merged

Implement bounding rectangle support for java text ranges#10157
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:javaBoundingRect

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

None

Summary of the issue:

Java text ranges expose a rectangle for every offset in a text range. We currently don't use this information.

Description of how this pull request fixes the issue:

Implement _getBoundingRectFromOffset on JABTextInfo.
As a bonus, this pr also adds an info log message when the java access bridge was succesfully initialized.

Testing performed:

Tested in the about java dialog that using move mouse to navigator object properly positions the mouse at the position of the selected unit.

Known issues with pull request:

None

Change log entry:

  • New features
    • The accuracy of the move mouse to navigator object command has been improved in text fields in Java applications.

@AppVeyorBot

Copy link
Copy Markdown

PR introduces Flake8 errors 😲

See test results for Failed build of commit 8b5645adde

@michaelDCurran michaelDCurran merged commit 3fb8d54 into nvaccess:master Sep 3, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Sep 3, 2019
michaelDCurran added a commit that referenced this pull request Sep 3, 2019
@LeonarddeR LeonarddeR added the BabbageWork Pull requests filed on behalf of Babbage B.V. label Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BabbageWork Pull requests filed on behalf of Babbage B.V.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants