mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
HackStudio: Optionally pass line & column to open_file
This makes it easier to open a file at a specific location.
This commit is contained in:
parent
5cd030568f
commit
8fc9ec942e
3 changed files with 5 additions and 4 deletions
|
@ -34,7 +34,8 @@ class HackStudioWidget : public GUI::Widget {
|
|||
|
||||
public:
|
||||
virtual ~HackStudioWidget() override;
|
||||
bool open_file(const String& filename);
|
||||
|
||||
bool open_file(String const& filename, size_t line = 0, size_t column = 0);
|
||||
void close_file_in_all_editors(String const& filename);
|
||||
|
||||
void update_actions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue