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

Text editor view not updating when typing in last line #30793

Closed
tsafs opened this issue Jul 24, 2019 · 7 comments
Closed

Text editor view not updating when typing in last line #30793

tsafs opened this issue Jul 24, 2019 · 7 comments

Comments

@tsafs
Copy link

tsafs commented Jul 24, 2019

Godot version:
v3.3.1

OS/device including version:
Windows10

Issue description:
When typing at the end of a script (last line) the view is not updated properly / scrolled down such that I would see what I'm typing. In the image, see the red line at the bottom, which is where I was typing. I expect the view to display that line.

Steps to reproduce:
Try it out yourself :-)

Capture

@codecustard
Copy link
Contributor

Using both version 3.1 and 3.2 latest branch, the script editor scrolls down to the last line when I type. Could you provide step by step instructions or maybe a project file?

I am also running on Windows 10.

@groud
Copy link
Member

groud commented Jul 26, 2019

v3.3.1

This version does not exist, could you you check again ?

@newold3
Copy link

newold3 commented Jul 28, 2019

when you use the control TextEdit and you write in last line, and max height of whole text written in it is bigger than textEdit height, the scroll is not update and you will be writing without being able to see what you have written until you scroll manually

@rkfg
Copy link

rkfg commented Nov 9, 2019

This is indeed an issue on Linux as well in the current master that I just compiled to confirm. It can be worked around by resizing the bottom area that contains Output, Debugger and other tabs so that the editor window has a (roughly) non-fractional number of visible lines.

When it's collapsed or has a "wrong" size:
record-2019-11-09_13 20 46

When it's expanded and has a "right" size:
record-2019-11-09_13 22 11

@rkfg
Copy link

rkfg commented Nov 18, 2019

I noticed that scrolling works as expected if the horizontal scroll bar is visible! As a workaround you can simply increase the right dock size to make that bar appear.

@KoBeWi
Copy link
Member

KoBeWi commented Nov 2, 2020

Still valid in be14d9d

@KoBeWi
Copy link
Member

KoBeWi commented Jan 20, 2022

Can't reproduce anymore in c13319d

@KoBeWi KoBeWi closed this as completed Jan 20, 2022
@KoBeWi KoBeWi added this to the 4.0 milestone Jan 20, 2022
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

8 participants