New Script Editor
-
-
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" ;)
-
@d-healey
I think yes - Console.print() should have its own
ShortCutThis is certainly one of the most called and important commands - isn't it?
-
@ustk said in New Script Editor:
@d-healey you can also just type "print" ;)
? You mean without
Console.
?Another quirk with the comment colours. If you go over the minimap under certain circumstances (I think it's when the text is beyond the width of the editor) the colour changes until you click back in the editor.
-
@d-healey yeah now you can directly type the method's name without the API group, it's faster.
-
@ustk What are you smokin?
@Christoph-Hart Turning off line breaks and white spaces keeps resetting, seems to be at random, sometimes I open HISE and it's how I left it, other times the line breaks are back on.
-
@d-healey works for me
-
@MikeB Oh just the auto-complete! I thought he meant the function itself.