CodeMirrorTextEditor only displays subset of text
Description
When loading a template codeMirrorTextEditor
fails to display the entire code. From some point, no code is displayed, as well as line numbers are omitted. Clicking or scrolling into the buggy region updates the editor, making it display the text correctly.
I could reproduce this issue in several browsers (Chromium, Firefox and Qutebrowser) while making sure that the browser window is short (in height) enough, such that the code does not entirely fit into the codeMirrorTextEditor
, but enables the scroll bar.
Steps to reproduce:
- Browse https://pseuco.com/ in tool mode (any mode such that creating files is unlocked)
- Make sure that the browser window is quite short, as described before
- Create a new pseuCo file off the template
RWMutex
Expected behaviour
The codeMirrorTextEditor
displays the entire text correctly, without having to update the text manually first.