Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Undo/Redo - Ninjascript editor

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

    Undo/Redo - Ninjascript editor

    Hello

    It seems that in Version .20 you did not clear the undo / redo cache in the ninjascript editor when the user compiled. This was actually a nice bonus. With version .22 (and most other versions) you clear the undo history cache ...when the user hits compile..if the user makes a mistake and cannot compile it is a pain to undo a change(cannot use Ctrl-Z) ...so you are then left with manually checking your script. You do not back up sources between compiles ...so I cannot roll back easily...unless I make physical copies of the script file.

    There have been a few times when I deleted some comments in my code or deleted a specific line and got a "}" deleted also by mistake. (happens when you get old) The undo made finding and fixing the compile error easy ...because I could undo the change and then make the "correct" change or fix syntax... instead of having to step through 600 or 1000 lines of code looking for where I made a change...if there is no specific reason for deleting the undo/redo history it would be nice if you left it intact even after a compile... I may make a change ...compile it..not like the change ...and then have to manually roll back. Not overly user friendly and no time savings that way....

    Just a thought.

    Mark

    #2
    Hello,

    Thanks for posting.

    I will get this into development and see what the reason is for this to occur if there is a reason behind the scenes why this should occur or not. As if not I would agree would be nice to undo after a compile when I still have the editor window open.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    173 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    328 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    252 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    354 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    181 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X