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

Error when using TextEdit's minimap with horizontal scrolling #92549

Closed
YeldhamDev opened this issue May 30, 2024 · 0 comments · Fixed by #92557
Closed

Error when using TextEdit's minimap with horizontal scrolling #92549

YeldhamDev opened this issue May 30, 2024 · 0 comments · Fixed by #92557
Milestone

Comments

@YeldhamDev
Copy link
Member

Tested versions

  • Reproducible in: 4.3.dev [e7dd6f1] and 4.2.2.stable.

System information

N/A

Issue description

When clicking at the very top of a scrolled down minimap in a TextEdit that has a horizontal scroll visible, something similar to the following error will be in the debugger tab:

E 0:00:02:0536   get_scroll_pos_for_line: Index p_line = -3 is out of bounds (text.size() = 123).
  <C++ Source>   scene/gui/text_edit.cpp:5717 @ get_scroll_pos_for_line()

CC @kitbdev.

Steps to reproduce

  • Grab and open the MRP.
  • Run the scene.
  • Do what's stated above.

Minimal reproduction project (MRP)

minimap-bug.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant