1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

HackStudio: Add statusbar with file and selected text information

This commit is contained in:
ry-sev 2021-07-01 20:39:17 -04:00 committed by Gunnar Beutner
parent e22a34badb
commit 2634cab7a8
8 changed files with 50 additions and 9 deletions

View file

@ -23,6 +23,7 @@ CodeDocument::CodeDocument(const String& file_path, Client* client)
, m_file_path(file_path)
{
m_language = language_from_file_extension(LexicalPath::extension(file_path));
m_language_name = language_name_from_file_extension(LexicalPath::extension(file_path));
}
CodeDocument::CodeDocument(Client* client)