Skip Navigation

[Bug] Tabs behave strangely in editor

Test: https://perchance.org/weird-tabs-3209482304#edit

Edit: Note, after saving and loading, tabs work correctly? Maybe? If you start a new generator, you can see the problem happening. Remember to copy an actual tab character from someplace.

In the above editor, the HTML panel has tab characters in it. They behave as expected, apart from when they are at the start of a line--then they just take up no width at all. What's expected is, they move the next character to the next available tab slot, like in other code editors.

In the List editor, the tabs are always converted into two-space groups. Which is interesting, seeing as how they're all converted to tabs again by the engine before processing.

0
0 comments