mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
HackStudio: Reset the cursor to I-beam when switching between files
This commit is contained in:
parent
0bc740ab7f
commit
709b3ccb0a
Notes:
sideshowbarker
2024-07-19 01:42:17 +09:00
Author: https://github.com/awesomekling
Commit: 709b3ccb0a
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@ void Editor::set_document(GUI::TextDocument& doc)
|
|||
ASSERT(doc.is_code_document());
|
||||
GUI::TextEditor::set_document(doc);
|
||||
|
||||
set_override_cursor(Gfx::StandardCursor::IBeam);
|
||||
|
||||
CodeDocument& code_document = static_cast<CodeDocument&>(doc);
|
||||
switch (code_document.language()) {
|
||||
case Language::Cpp:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue