Print Thread
Collapsing Subprograms is Faulty
#64647 06/06/23 01:10 PM
Joined: Apr 2020
Posts: 95
Z
zakko Offline OP
Member
OP Offline
Member
Z
Joined: Apr 2020
Posts: 95
The collapsing of subprograms is faulty or at least not very intuitive. This should be improved. Let's assume the following function with suprograms:

Code
function mainFunction return number is
 var1 number;

 function subprog1 is
  [code]
 end subporg1;

 procedure subprog2 is
  [code]
 end subporg2;

begin

 [code]

end mainFunction;

Observed behavior:
If you collapse subprog1 in Developer subprog1 and subprog2 are actually collapsed. Code remains visible at "begin" of mainFunction.

Expected behavior:
Only the collapsed subprogram should actually be hidden and all code before an after should be fully visible.

Version 15.0.3.2059 (64 bit), Windows 10 Build 19045

Re: Collapsing Subprograms is Faulty
zakko #64649 06/07/23 08:48 AM
Joined: Aug 1999
Posts: 22,361
Member
Offline
Member
Joined: Aug 1999
Posts: 22,361
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.033s Queries: 14 (0.008s) Memory: 2.4980 MB (Peak: 3.0397 MB) Data Comp: Off Server Time: 2024-10-14 12:38:01 UTC
Valid HTML 5 and Valid CSS