HISE Logo Forum
    • Categories
    • Register
    • Login

    New Script Editor

    Scheduled Pinned Locked Moved General Questions
    117 Posts 10 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Christoph HartC
      Christoph Hart
      last edited by

      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...

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @Christoph Hart
        last edited by

        @Christoph-Hart I'll try it now. Despite Mac being Unixy I find Debian UX often has more in common with Windows.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          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?

          9d8e885b-4c4b-4afa-b800-ebfebc82ef1c-image.png

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            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.

            d.healeyD 1 Reply Last reply Reply Quote 1
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart

              alt text

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by d.healey

                Comments changing colour when scrolling. Happens as soon as the /* goes off the screen.

                Peek 2021-08-28 23-53.gif

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by d.healey

                  • Matching brackets/braces are only highlighted when selecting the second one of the pair.
                  • No code folding in included external files

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    @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).

                    d.healeyD ustkU 2 Replies Last reply Reply Quote 1
                    • d.healeyD
                      d.healey @Christoph Hart
                      last edited by d.healey

                      @Christoph-Hart Thank you!

                      Yep those are fixed here!

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @Christoph Hart
                        last edited by

                        @Christoph-Hart I add: no autocompletion in other scripts (at least scriptFX)

                        Can't help pressing F5 in the forum...

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart
                          last edited by

                          @ustk Can this be solved if you compile the script, then click on the editor again?

                          ustkU 1 Reply Last reply Reply Quote 0
                          • ustkU
                            ustk @Christoph Hart
                            last edited by

                            @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...

                            Can't help pressing F5 in the forum...

                            1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart
                              last edited by

                              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.

                              1 Reply Last reply Reply Quote 1
                              • d.healeyD
                                d.healey
                                last edited by d.healey

                                Cursor is not placed consistently when using select next instance shortcut.

                                Peek 2021-08-29 18-01.gif

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • Christoph HartC
                                  Christoph Hart
                                  last edited by

                                  Fixed that one (plus you get Cmd+U for "Soft Undo").

                                  d.healeyD 1 Reply Last reply Reply Quote 1
                                  • d.healeyD
                                    d.healey @Christoph Hart
                                    last edited by d.healey

                                    @Christoph-Hart Excellent! What's soft undo? Did you get the one yet for highlighting matching brackets?

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    1 Reply Last reply Reply Quote 1
                                    • d.healeyD
                                      d.healey
                                      last edited by

                                      I feel that Console.print should be first in the list here, in fact why is blink there at all?

                                      81786184-1e77-4cf4-8117-23e2ac952a4b-image.png

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      ustkU MikeBM 2 Replies Last reply Reply Quote 1
                                      • ustkU
                                        ustk @d.healey
                                        last edited by

                                        @d-healey you can also just type "print" ;)

                                        Can't help pressing F5 in the forum...

                                        d.healeyD 1 Reply Last reply Reply Quote 1
                                        • MikeBM
                                          MikeB @d.healey
                                          last edited by

                                          @d-healey
                                          I think yes - Console.print() should have its own
                                          ShortCut

                                          This is certainly one of the most called and important commands - isn't it?

                                          "One hour of trial and error can save 10 minutes of reading the manual."
                                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                                          1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @ustk
                                            last edited by

                                            @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.

                                            Peek 2021-08-29 19-46.gif

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

                                            ustkU 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            37

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.1k

                                            Posts