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.
    • d.healeyD
      d.healey @ustk
      last edited by

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

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

        Some more quirkyness - auto complete being unhelpful.

        Peek 2021-08-27 16-28.gif

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

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

          @d-healey I've had this for days - works with else{ too.

          "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 @d.healey
            last edited by

            @d-healey said in New Script Editor:

            To turn off the new editor

            Doesn't work for me, I get a compile error

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

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

              @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

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

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

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

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

                  @Christoph-Hart Worse than ever, all code is gone 🤣
                  But it's working somewhere in the background as my interface is running...
                  Untitled.png

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

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

                    @ustk Try latest commit

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

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

                      @d-healey Oh yes it just arrived...

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

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

                        @Christoph-Hart Well... That almost did it, new line and typing are definitely as they should now, but backspace lag is even worse 🙄

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

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

                          @ustk Seems fine to me in a fresh project

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

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

                            @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

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

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

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

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

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

                                Please try again now, I've reworked a bunch of things including the backspace lag.

                                1 Reply Last reply Reply Quote 1
                                • NatanN
                                  Natan
                                  last edited by Natan

                                  @Christoph-Hart Christoph
                                  This One Failed To Build :/

                                  • code editor: added horizontal scroll bar

                                  Win 10 VS2017

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

                                    New strangeness with tabs

                                    Peek 2021-08-28 18-32.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

                                      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
                                            • First post
                                              Last post

                                            12

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.8k

                                            Posts