I don't know what I have clicked while I was coding, but this orange box with dots appeared hiding my code:
How can I make my code visible again?
You activated the Code Folding feature. This allows you to hide a block of text temporarily so that you can concentrate on the surrounding lines. The ellipsis (three dots) in the orange box indicates that there are hidden lines at that point in the buffer.
One way to show all lines is with menu item Edit > Code Folding > Unfold All. You may also want to explore the other items in that submenu.