mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
TextEditor: Rename "file_name" => "filename"
This commit is contained in:
parent
f3091d89aa
commit
297a2762cd
3 changed files with 9 additions and 11 deletions
|
@ -72,7 +72,7 @@ int main(int argc, char** argv)
|
|||
if (file_to_edit) {
|
||||
// A file name was passed, parse any possible line and column numbers included.
|
||||
FileArgument parsed_argument(file_to_edit);
|
||||
if (!text_widget.open_file(parsed_argument.file_name()))
|
||||
if (!text_widget.open_file(parsed_argument.filename()))
|
||||
return 1;
|
||||
text_widget.editor().set_cursor_and_focus_line(parsed_argument.line().value_or(1) - 1, parsed_argument.column().value_or(0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue