mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LanguageServers: Add FileDB::project_root() getter
This commit is contained in:
parent
b50eaf75eb
commit
c4ff7c6f8e
Notes:
sideshowbarker
2024-07-18 17:33:00 +09:00
Author: https://github.com/itamar8910
Commit: c4ff7c6f8e
Pull-request: https://github.com/SerenityOS/serenity/pull/7383
Reviewed-by: https://github.com/gunnarbeutner
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ public:
|
|||
bool add(const String& filename, const String& content);
|
||||
|
||||
void set_project_root(const String& root_path) { m_project_root = root_path; }
|
||||
const String& project_root() const { return m_project_root; }
|
||||
|
||||
void on_file_edit_insert_text(const String& filename, const String& inserted_text, size_t start_line, size_t start_column);
|
||||
void on_file_edit_remove_text(const String& filename, size_t start_line, size_t start_column, size_t end_line, size_t end_column);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue