• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scrolling in the Editor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Scrolling in the Editor

    When there are a lot of lines and Region sections, scrolling does not work fine.
    I can send you a video.

    #2
    Hello cls71,

    Thank you for your post,

    Yes, so I may attempt to reproduce this on my end, please supply me with the steps you have taken.
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      To help us reproduce, roughly how many lines of code are in the full class?

      How many regions are you using where issues appear to exhibit? And how big are these regions roughly?
      MatthewNinjaTrader Product Management

      Comment


        #4
        Lines: 2000
        Regions: dozens.

        I have just sent a video to platformsupport (att. NinjaTrader_EricB) where you can see the malfunction.

        Comment


          #5
          An observation that perhaps could be useful to fix the bug:

          When a Region is expanded or collapsed the thumb of the scrollbar does not move or resize, which is a malfunction.

          Comment


            #6
            Hello cls71,

            I am unable to reproduce the scrolling issue on my end.

            In order to test this further, can you please send the script you are using that is exhibiting this behavior to platformsupport [AT] ninjatrader [DOT] com with my name and a link to this thread referenced?
            Zachary G.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_ZacharyG View Post
              Hello cls71,

              I am unable to reproduce the scrolling issue on my end.

              In order to test this further, can you please send the script you are using that is exhibiting this behavior to platformsupport [AT] ninjatrader [DOT] com with my name and a link to this thread referenced?
              Hello ZacharyG,

              Try this code. In the video you can see the exact point where occurs the malfunction.

              http://screencast.com/t/oIi99Rl3XxrA
              Attached Files

              Comment


                #8
                Hi

                I also see this, but I assumed that when the editor seems to have stopped scrolling, it is actually scrolling through the collapsed lines. cls71 has 220 lines collapsed, so it would appear that scrolling was not working properly.

                Perhaps, this should just be a suggestion to treat collapsed regions as one line in the scrolling algorithm.

                Cheers
                Tony
                Last edited by Jellybean; 10-01-2015, 01:18 AM.

                Comment


                  #9
                  The issue also occurs with expanded regions.
                  See this video.

                  http://screencast.com/t/cCUlatcd

                  Comment


                    #10
                    Hello cis71,

                    I am able to reproduce this on my end with your further clarification and test script.

                    I will be reporting this to the development team and will provide you with any updates as they come along.
                    Zachary G.NinjaTrader Customer Service

                    Comment


                      #11
                      Hello,

                      Is there any advance about this issue (scrolling editor) ?

                      At this moment, the ninjascript editor is very ineffective for working with large files structured in many regions.

                      Thanks

                      Comment


                        #12
                        Hello cls71,

                        Unfortunately, this is a known limitation with ActiPro, a framework which is what we use for the NinjaScript Editor. As of October 6th, 2015, we were informed from ActiPro of no known resolution at this time.
                        Zachary G.NinjaTrader Customer Service

                        Comment


                          #13
                          Add my voice to cls71 with regard to the way 'regions' are handled in the NinjaEditor.
                          In addition to scrolling....any little 'miskey' of a field can trigger ALL of the regions to suddenly pop open. While this will not be an issue for many, those of us with large chunks of code neatly tucked into many regions, will find it irritating at best and time consuming at worst.

                          On a scale of 1-10....this is clearly a very low "1"....but it would be nice to have the Ninja Editor be a bit more user friendly.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by moyerchopra, Yesterday, 11:43 PM
                          0 responses
                          1 view
                          0 likes
                          Last Post moyerchopra  
                          Started by ttodua, Yesterday, 11:40 PM
                          0 responses
                          1 view
                          0 likes
                          Last Post ttodua
                          by ttodua
                           
                          Started by edmata1109, 12-04-2019, 09:19 PM
                          8 responses
                          28 views
                          0 likes
                          Last Post koganam
                          by koganam
                           
                          Started by maindoor, 12-03-2019, 10:45 PM
                          9 responses
                          63 views
                          0 likes
                          Last Post koganam
                          by koganam
                           
                          Started by w0lverine, Yesterday, 08:22 PM
                          0 responses
                          1 view
                          0 likes
                          Last Post w0lverine  
                          Working...
                          X