New Script Editor
-
@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.
-
Yes that worked. I'm finding now that the first tab on the line is 4 spaces and all tabs after are 3 spaces. Is it the same for you?
-
Erm, it's supposed to be like this. A tab goes to the next multiple of 4, so if you start from 0, then it will go to position 4. If you enter a
*
and press tab, you start from position 5 so it just fills up 3 spaces. -
-
Comments changing colour when scrolling. Happens as soon as the
/*
goes off the screen. -
- Matching brackets/braces are only highlighted when selecting the second one of the pair.
- No code folding in included external files
-
@d-healey said in New Script Editor:
Comments changing colour when scrolling. Happens as soon as the /* goes off the screen.
and
No code folding in included external files
is fixed (it was actually the same problem since the syntax highlighting searches for the last line range start to avoid coloring comment blocks, so if the line ranges aren't created, it won't work).
-
@Christoph-Hart Thank you!
Yep those are fixed here!
-
@Christoph-Hart I add: no autocompletion in other scripts (at least scriptFX)
-
@ustk Can this be solved if you compile the script, then click on the editor again?
-
@Christoph-Hart In fact it was because the new editor isn't enabled in the module's scripts (Script processor, scriptFX...). But of course, it works if you open these scripts in the main editor window. I don't know if you plan to enable it in the modules, it might not be necessary...
-
Yeah, I didn't bother with the embedded code editor in the module view for a long time, but I guess I should migrate it too at some point.
-
Cursor is not placed consistently when using select next instance shortcut.
-
Fixed that one (plus you get Cmd+U for "Soft Undo").
-
@Christoph-Hart Excellent! What's soft undo? Did you get the one yet for highlighting matching brackets?
-
I feel that
Console.print
should be first in the list here, in fact why is blink there at all? -
@d-healey you can also just type "print" ;)