The collapsing of subprograms is faulty or at least not very intuitive. This should be improved. Let's assume the following function with suprograms:
function mainFunction return number is
function subprog1 is
procedure subprog2 is
If you collapse subprog1 in Developer subprog1 and subprog2 are actually collapsed. Code remains visible at "begin" of mainFunction.
Only the collapsed subprogram should actually be hidden and all code before an after should be fully visible.
Version 220.127.116.119 (64 bit), Windows 10 Build 19045