๐Ÿ‘ฝ skyjake

Testing Multi-Line Input I'm working on an improved text editor for Lagrange v1.5. It expands as you write text, and newlines can be inserted, too. Let's see if these newlines are preserved. Testing 1 2 3 Another line and a third one.

3 years ago ยท ๐Ÿ‘ martin, figbert, thatsredadcted, rdelaage, gnuserland, know, dunkel, aka_dude, bobby

Actions

๐Ÿ‘‹ Join Station

3 Replies

๐Ÿ‘ฝ skyjake

Great! Maybe the best approach is to strip all whitespace at the ends, and allow at most 2 consecutive '\n's in the middle. ยท 3 years ago

๐Ÿ‘ฝ martin

I currently strip them, but I could undo that pretty easily. With a better text input that enables longer-form input, this seems like a big win! ยท 3 years ago

๐Ÿ‘ฝ skyjake

The newlines were not preserved. @martin ยท 3 years ago