Print Thread
Collapsing Subprograms is Faulty
#64647 06/06/23 01:10 PM
Joined: Apr 2020
Posts: 92
Z
zakko Offline OP
Member
OP Offline
Member
Z
Joined: Apr 2020
Posts: 92
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,201
Member
Offline
Member
Joined: Aug 1999
Posts: 22,201
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.061s Queries: 16 (0.032s) Memory: 2.4960 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-04-23 09:00:41 UTC
Valid HTML 5 and Valid CSS