New Script Editor
-
@d-healey develop branch can export here too...
-
-
@ustk Thanks for the video. Yes I experience a similar level of lag with line breaks disabled - although not quite as laggy as your video shows. For me it is most noticable when typing text.
-
Some more quirkyness - auto complete being unhelpful.
-
@d-healey I've had this for days - works with else{ too.
-
@d-healey said in New Script Editor:
To turn off the new editor
Doesn't work for me, I get a compile error
-
@d-healey said in New Script Editor:
Doesn't work for me, I get a compile error
Confirmed...
I've also seen that the Code Bookmarks
//! Comment with an exclamation mark
Don't appear anymore in the context menu
-
@ustk Can you try again? I think I've fixed the lag and now it should be as responsive as the old editor irregardless of the line break state.
-
@Christoph-Hart Worse than ever, all code is gone
But it's working somewhere in the background as my interface is running...
-
@ustk Try latest commit
-
@d-healey Oh yes it just arrived...
-
@Christoph-Hart Well... That almost did it, new line and typing are definitely as they should now, but backspace lag is even worse
-
@ustk Seems fine to me in a fresh project
-
@d-healey Yeah in the lorem ipsum from above too, but not in my 200 lines project... Line number might be the issue I don't know...
@Christoph-Hart BTW, openGL HAS to be enabled on mac, or scriptnode is not even usable as soon as you have a few nodes... anyway it doesn't change anything about the code editor, so I keep it enabled -
Precision: the backspace lags only when deleting a char/space. It's fine when deleting a line.
In fact, everything that involves deleting a char (so pasting, back-tab...) -
Please try again now, I've reworked a bunch of things including the backspace lag.
-
@Christoph-Hart Christoph
This One Failed To Build :/- code editor: added horizontal scroll bar
Win 10 VS2017
-
New strangeness with tabs
-
Does it help if you change this line to
#if JUCE_WINDOWS || JUCE_LINUX
I think I had to hack around to fix that on macOS but it might be the same as on Windows for you...
-
@Christoph-Hart I'll try it now. Despite Mac being Unixy I find Debian UX often has more in common with Windows.