Code Editor Bug

Describe the bug (REQUIRED)
The editor interface does not display the code editing cursor in instances where you move to an end of line that is outside the range of the editor width. This means that you are not able to see what’s at the end, and even if you type, you end up seeing nothing of what you type.

To Reproduce (REQUIRED)

  1. Open a code file with at least one very long line of code that goes beyond the width of the editor interface.
  2. Scroll your cursor toward the end of the line.
  3. When you reach close to the ending of the line, you will not see your cursor or the code at the very end.

Expected behaviour (REQUIRED)
You are meant to see the end of line and also the cursor position itself.

Defold version (REQUIRED):

  • Version [1.9.3]

Platforms (REQUIRED):

  • OS: [Windows]

Workaround (OPTIONAL):

  1. You can try split the code to fit into multiple visible lines within your editor width range. Or
  2. Collapse the Assets View or Project Outline to make the width longer to see more width. But again it needs to also be within that width also.

Screenshots (OPTIONAL):

The cursor is at the end of the line for line number 26. You will however not get visibility on

1 Like

That is true. This happens to me too.