Skip to content
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

Make GetCursorRectangle in the TextPresenter public. #18325

Open
Omsad opened this issue Feb 26, 2025 · 0 comments
Open

Make GetCursorRectangle in the TextPresenter public. #18325

Omsad opened this issue Feb 26, 2025 · 0 comments
Labels
enhancement needs-api-review The PR adds new public APIs that should be reviewed.

Comments

@Omsad
Copy link

Omsad commented Feb 26, 2025

Is your feature request related to a problem? Please describe.

I wish to be able to show a popup relative to the caret in the textbox (text presenter).
To do so I need to know the current location of the caret relative to the textbox. Currently I am using reflection to call GetCursorRectangle, it would be nice if I didn't have to do so.

Describe the solution you'd like

Change GetCursorRectangle in the TextPresenter from internal to public.

Describe alternatives you've considered

No response

Additional context

No response

@MrJul MrJul added the needs-api-review The PR adds new public APIs that should be reviewed. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement needs-api-review The PR adds new public APIs that should be reviewed.
Projects
None yet
Development

No branches or pull requests

2 participants