Feedback
Nested functions and subs can hide code in the method editor
- Status
- Fixed
- Fixed in
- v26.11.4
- Area
- ide
- Last updated
- 2026-11-16
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
When a method contains a nested Function or Sub, Studio can stop displaying its body at the nested block's closing line. The rest of the outer method can become inaccessible in the member editor, and subsequent edits can leave compilation errors pointing to a whole-file line that cannot be opened in that editor.
Studio should keep the complete outer method body visible and editable, including nested declarations and their closing lines, and preserve the source correctly through editing, saving and reopening.