https://github.com/sql-mistermagoo/screenpositionfromcaret
Sample how to get screen position from caret position in Visual Studio
https://github.com/sql-mistermagoo/screenpositionfromcaret
Last synced: about 1 year ago
JSON representation
Sample how to get screen position from caret position in Visual Studio
- Host: GitHub
- URL: https://github.com/sql-mistermagoo/screenpositionfromcaret
- Owner: SQL-MisterMagoo
- License: mit
- Created: 2024-10-24T14:44:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-24T14:47:43.000Z (over 1 year ago)
- Last Synced: 2025-02-12T22:44:53.296Z (over 1 year ago)
- Language: C#
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Sample showing a way to get screen position from caret position in VS
This accounts for viewport scaling and scrolling, device DPI and responds to most changes.
## Known issues
Floating a window doesn't seem to fire any events that trigger the screen position to re-calculate
The test window in this sample is crude - just to show the calculation is working.