-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/fix: Refactor editor construction and status handling
To be quite honest, this is a chunky commit because I took a stab at this a few times with big breaks in between. I remember starting work on some part of this on the plane from South America to Europe a while ago. Basically, this fixes a bunch of outstanding design issues, finally. The following is an autogenerated commit summary: - Replaced `IsActiveAndFocussed` with `GetStatus` in `Editor` interface. - Introduced `EditorStatus` type and constants to represent editor states. - Updated `Composite` and `StringEditor` to use new `GetStatus` method. - Modified `Composite` to manage fields with a map of EditorID to Editor. - Adjusted `NewCompositeEditorPane` and `StringEditorPane` to handle new status logic. - Improved logging and error handling for editor construction and status checks.
- Loading branch information
Showing
6 changed files
with
254 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.