Skip to content

Conversation

@kitbdev
Copy link
Contributor

@kitbdev kitbdev commented Jan 24, 2026

Extracted the members overview / help overview from ScriptEditor and cleaned up the code.
I renamed it to outline to be a bit more accurate.
The functionality should be the same.

Unified the members overview and help overview ItemLists and methods.
There does not need to be separate ItemLists, only one is shown at a time and it doesn't store state.
There does not need to be multiple visibility methods, they were always called right after another and the logic is much simpler this way.

The visibility updating does not need to touch the filter and sort button individually, they are both in an HBoxContainer that can be used instead.
The current tab range check in _update_help_overview_visibility only caught cases where no editor is open, but the next nullptr check would catch that anyway.

The only information needed from the ScriptEditor is the current active editor (ScriptEditorBase or EditorHelp), I made a method for it.

@kitbdev kitbdev added this to the 4.x milestone Jan 24, 2026
@kitbdev kitbdev requested a review from a team as a code owner January 24, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant