OS4 DepotLogo by McFly 
   Home     List Software     Search     Contact     Help  
 Menu
 
 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Username

 Password


   Register here

 Main menu
   BBCode test
 
 Content
   Help
   ToDo List
   List Content
 
 
Support the site
 View Issue
[View Software][View Issues][View Comments][View Files]
Name:codebench
Title:CodeBench - Development Management Environment
Owner:Rigo
URL:
Created:20090213 13:59 by Rigo
 Issue details
Type:SuggestionSeverity:Minor
Status:In ProgressStatus Comment:Later
Title:Scope hide/show
Version:0.8
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
Assigned:19700101 01:00 to
Fixed:19700101 01:00 by
Closed:19700101 01:00 by
Comments:1
Copyright (c) 2004-2024 by Björn Hagström. All Rights Reserved