-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what's the meaning of CodeLayoutPanelInternal, CodeLayoutGridInternal #5
Comments
Hello,
There is a parent-child relationship organized by the Because this is the code I wrote alone, there may be some unreasonable areas. You are welcome to provide suggestions, and I will try my best to make modifications. Thank you. |
I got it, thank you, this is a great project. Suppose I'd like to save the edited file in a panel, what's the best practice to expose the file data in the panel to the save command menu ? |
My suggestion: Panel has a Here is my example, you can modify it according to your own requirements. I use SplitLayout, this component is designed for multiple file editors. Pass my editor context at creation:
When user clicked save button, we try get user focused editor and do save.
|
I want to made some modification to suit my case. Could you please give some hint about the difference between
CodeLayoutPanel
,CodeLayoutPanelInternal
? What's the meaning of "Internal
" here?Similarly
CodeLayoutGridInternal
which extendsCodeLayoutPanelInternal
confused me, since a Panel should stay in Grid, not reverse.The text was updated successfully, but these errors were encountered: