123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|360|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> JSE -> Possible New Editor Test

Thu, 14 Aug 2025, 11:57
Jayenkai

Possible New Editor Test




I've spent the past few days trying to get this to work.
It's at a "kinda" stable condition, now.

Mostly written by ChatGPT with Google Gemini chipping in, between the three of us we finally managed to get this "kinda" working, but I'd love for you to try it out and let me know if it does in fact work for you!

Honestly, I had to redo from start multiple times.
I eventually decided to plan out most of the methodology myself, before giving that to ChatGPT, and have it follow my steps, because 95% of the time, the chatbots would "know how to do this, it's fine, everything is ok!" and then blammo, it knackers itself 10 minutes later..
So, no, I had to explain it from the start, guiding it from "let's start with a simple text area and a div, and then we'll scan each line, and then we'll make the text area transparent, and then we'll set the fonts the same and layer them over the top, and then we'll jump the scroll..", etc, etc. Bit by bit.

This was realistically the only way to get it to work, otherwise "it knew what to do" and spiralled out of control!
Ho-hum!!

Known Issues

Things like Tab and other such shortcuts that I've coded into JSE aren't yet enabled. Those will come once I wrap it all into JSE proper.
Strings are done via regex checks so currently " and ' will open and close identically. (eg, .. "It's .. will both open and close a string)

What to try

Copy+pasting to and from.
Editing.
Typing.
Generally navigating around the thing.
Does it work, is it smooth, is it fast, is it stable.

Essentially, a simple "This is nice, add it to JSE"
or...
Much More Importantly...
"This doesn't work for me, please don't do this."

You can test it here.
Please do, on as many devices as you can!

-=-=-
''Load, Next List!''
Thu, 14 Aug 2025, 20:35
Dan
I did a quick testing and found out that there are few annoyances.

Look at the top line in this video:


Play Video


This happens not every time, but often when you type something at the top line and press enter/return the line scrolls up and disappears, instead of staying in place.

Then there is more:
After i have recorded the video, i discovered that there is a slow down when typing text. (At least on my Laptop with win 10 and SrWare iron as browser)
ok looks like this one may be when you have a bit more lines written ... i have tried to reproduce it, looks like it needs to be >5000 lines to become noticeable.

The line numbers above 10000 are not shown properly. The edit field cuts them out.


The editor looks nice, so far. I guess the theme changer will not stay at that place, because sometime it is preventing the grabbing of the slider.