Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Minimize or Temporarily Hide Rows in Ninjascript

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

    Minimize or Temporarily Hide Rows in Ninjascript

    Hello,

    One my strategies requires a large amount of rows in NinjaScript. I am using NT8.

    Is there a way to add a button or something like it to where I can minimize or hide sections of code so that I don’t have to scroll 1000s of rows up and down frequently?

    I noticed some of these “+” buttons exists in the code by default which allows the code to be hidden when pressed. Is there a way to add more of these “+” buttons?

    #2
    Hello centrino2,

    Thanks for your post.

    You can add "regions" to make your code easier to deal with and these will display the "+" when collapsed and the "-" when expanded.

    for example:

    #region This is my region
    //lines of code here
    //lines of code here
    //lines of code here
    //lines of code here
    #end region

    When collapsed would show as [+] This is my region

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    87 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    151 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    80 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    53 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    62 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X