Even if I add startfold and endfold to my code to assign a border to the fold operation, Toad doesn’t treat the specified part correctly. The folded code is beyond /endfold/ keyword.
Here is an example:
DECLARE
v_dummy VARCHAR2 (1);
/startfold/
FUNCTION is_proc_runable (
param1 IN table_01%ROWTYPE,
param2 IN table_01.id%TYPE,
param3 IN table_01.clccid%TYPE DEFAULT NULL)
RETURN BOOLEAN
IS
b__return BOOLEAN := FALSE;
BEGIN
$IF $$prezaras_auto_srv__002 $THEN
log_eszk.add__cloblog ('b__return: ’ ||
CASE
WHEN b__return THEN ‘true’
ELSE ‘false’
END,
v_log);
$END
RETURN b__return;
END is_proc_runable;
/endfold/
BEGIN
dbms_output.put_line (‘Sample text’);
END;
/