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 184.108.40.2069 (64 bit), Windows 10 Build 19045