Page MenuHomeFeedback Tracker

Auto indentation on line breaks stops working due to some unicode symbols
Assigned, NormalPublic

Description

Having some unicode symbols in your script stops auto indentation working in Script Editor.

The origin of these symbols is log window in World Editor, i copied few lines out of there and it broke Script Editor's auto indentation, I removed all readable characters and I ended up with these ones, invisible and editor breaking.

I haven't looked into exactly which symbols do that as there seem to be several, but thought to submit as is for tools devs to look at.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Open attached script in Script Editor
  2. Place cursor at the end of // 123 line, press Enter
  3. Observe proper auto indentation
  4. Place cursor at the end of // 321 line, press Enter
  5. Observe lack of auto indentation

The problematic symbols are inside /**/ comment block on line 6

Event Timeline

SaMatra created this task.Wed, Jul 9, 6:58 AM
This comment was removed by Geez.
Geez changed the task status from New to Assigned.Wed, Jul 9, 11:53 AM
Geez added a subscriber: Geez.
SaMatra updated the task description. (Show Details)Wed, Jul 9, 12:12 PM