cogentcore / core

A free and open source framework for building powerful, fast, and elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the Web with a single pure Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.32k stars 71 forks source link

texteditor sometimes doesn't show anything, if not bigger than frame (no scrolling) #847

Closed rcoreilly closed 4 months ago

rcoreilly commented 5 months ago

Describe the bug

in Code app, sometimes get nothing for a file, only when small

How to reproduce

most likely to happen when you start with a file that was longer and then cut it, removing the scrollbar.

need a reproducible case to debug. likely something about the scrollbar itself.

Example code

No response

Relevant output

No response

Platform

macOS

rcoreilly commented 4 months ago

Also, if you cut end of file, it stays permanently scrolled.. same issue but different manifestation