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
Invalid cursor position after mouse click on line with tabulations #86
Comments
…abulations Also removed some unnecessary SanitizeCooridates calls.
Fixed. Please test. |
It doesn't compile with ImGui 1.70 and ImGuiColorTextEdit/TextEditor.cpp Line 1127 in 9f8a336
Otherwise work well, thank you for this super useful widget. |
Welcome :) |
Problem
When I click on a line contening tabulations, the cursor is placed at a wrong position.
For example, calling only these two functions with the default font of ImGui:
If I click after the text on the first line the cursor is put at the right position (the end of the line), but if I click after the end of the second line the cursor is placed at a wrong position (as in the picture).
Informations
The text was updated successfully, but these errors were encountered: