Error text in script edit screen pushes script code offscreen

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
vertigo
Posts: 147
Joined: 28 Oct 2018 00:28

Error text in script edit screen pushes script code offscreen

Post by vertigo » 28 Oct 2019 17:56

If working on a script in the actual script edit screen (click the pencil icon to open the screen with a larger area for working on it) and there are multiple errors (red text underneath stating "... expected ..."), when activating the script text/edit box (tapping on it) to modify it to try and fix the errors, the error text takes up so much space it pushes the code off screen, making it so you can't see what you're doing. The text box containing the code should be forced to stay visible on the screen when it's selected and the keyboard opens, instead of being pushed out of the way in favor of the errors, though ideally the user should still be able to scroll down to see the errors.

Also, for the errors, it would be helpful if a couple changes were made with how they're displayed. First would be to display each one on a separate line or even as a separate bullet, so they don't all run into each other, making it difficult to see where one ends and the next begins. The other would be to somehow make it more visible/obvious which one goes to which character in the code. Simply stating the character position is of limited use, since knowing, for example, which position is 224 in a block of code isn't realistic. Perhaps when the cursor is placed on one of the spots in the code that's invalid, the corresponding part of the error text could be highlighted.

Locked