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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    72 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X