OS4 DepotLogo by Alkaron 
   Home     List Software     Search     Contact     Help  
   Bug tracker
   Locale browser


   Register here

 Main menu
   BBCode test
   ToDo List
   List Content
Support the site
 View Issue
[View Software][View Issues][View Comments][View Files]
Title:CodeBench - Development Management Environment
Created:20090213 13:59 by Rigo
 Issue details
Status:In ProgressStatus Comment:Later
Title:Scope hide/show
Description:Suggestion to add the following functionality:

Editor keeps track of all { } blocks and displays a column of [-]------[_] (but vertically) for each block letting the user clicks the [+] to hide the block from view.

[-] {
 |   for(i=0;i<10;i++)
[-]  {
 |    printf("%i",i);
[_]  }
 |   printf("\nLoop done!\n");
[_] }

pressing the second [-] would turn the visible part into:

[-] {
 |   for(i=0;i<10;i++)
[+]  {...}
 |   printf("\nLoop done!\n");
[_] }

pressing the first [-] would turn the visible part into:

[+]  {...}

(would be a bit tricky of course when you have several {'s on the same line etc, but there's editors that handles that so such details could be investigated a bit further)
Created:20090405 19:28 by orgin
Copyright (c) 2004-2018 by Björn Hagström. All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment