Hello Marco,
e.g. consider the following package:
CREATE OR REPLACE PACKAGE DOM_TEST IS
END;
CREATE OR REPLACE PACKAGE BODY DOM_TEST
IS
PROCEDURE Domtest
IS
BEGIN
NULL;
END;
BEGIN
NULL;
END;
Compile and close windows.
In the browser, open package with right click on package name and "Edit Spec & Body".
1. Move cursor to left pane of program window on Domtest -> procedure in right pane will be highlighted in blue.
2. Move cursor to line 3 (the blank line before the procedure starts). Hit Return and enter many (e.g. 24, doesn't matter) "-" to make a separator line:
---------------------------------
-> Now try to highlight function Domtest. The function does *not* get highlighted.
3. Press Sort twice -> highlighting works again.