mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
HackStudio: Support opening the same file in both editors
Hey, it actually works! You can now edit the same file in both editors and even the C++ highlighting updates correctly in both of them. :^)
This commit is contained in:
parent
9b13a3905b
commit
e2d7f585da
Notes:
sideshowbarker
2024-07-19 11:31:05 +09:00
Author: https://github.com/awesomekling
Commit: e2d7f585da
5 changed files with 26 additions and 7 deletions
|
@ -14,6 +14,8 @@ public:
|
|||
|
||||
[[nodiscard]] bool add_file(const String& filename);
|
||||
|
||||
TextDocument* get_file(const String& filename);
|
||||
|
||||
GModel& model() { return *m_model; }
|
||||
|
||||
template<typename Callback>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue