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

TextEdit: Text not shown with too many tabs and indent_wrapped_lines #93794

Open
kitbdev opened this issue Jun 30, 2024 · 0 comments
Open

TextEdit: Text not shown with too many tabs and indent_wrapped_lines #93794

kitbdev opened this issue Jun 30, 2024 · 0 comments

Comments

@kitbdev
Copy link
Contributor

kitbdev commented Jun 30, 2024

Tested versions

Godot v4.3.beta (4ab8fb8)

System information

Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 31.0.15.5186) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)

Issue description

If you have indent_wrapped_lines enabled and a line after many tabs, it doesn't get wrapped anymore. It tries to put the text after the indentation to match the first line, but there is too much and the text can't be shown.
It should reset the indent count if there is too many.

image

Steps to reproduce

  1. Make sure word wrap and indent_wrapped_lines is on.
  2. Have a script with text after many tabs or spaces so it goes out of view, like #test

Minimal reproduction project (MRP)

N/A

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

No branches or pull requests

2 participants