Log In  

My program is 14524 characters so far (when saved), but when I copy and paste its own contents back into itself this count increases to 15298. It decreases again on save.

This is an increase of 774, which is also the number of newlines present in my code. Maybe windows is adding returns to each newline, causing the discrepancy? I'm experiencing this copying from Sublime Text into the pico-8 editor, and also selecting all on the editor, then copying and pasting over all contents.

P#10942 2015-05-26 20:41 ( Edited 2015-10-28 03:45)

Whoops, forgot to include the screens I took.

Before:

After:

P#10943 2015-05-26 21:36 ( Edited 2015-05-27 01:36)

Right -- I need to strip the returns. Should be able to safely get that into 0.1.1, but hopefully token limiting will make it not such a big problem anyway :)

P#11004 2015-05-29 18:26 ( Edited 2015-05-29 22:26)

It's still not fixed or broke again in v0.1.3 (on Windows)? The \r counts as a separate token, so that's still an additional token per line.

P#15951 2015-10-27 23:45 ( Edited 2015-10-28 03:45)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 08:09:25 | 0.005s | Q:12