mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:55:06 +00:00
GTextEditor: The Home key should jump to the first non-space character
Press Home twice to get to column 0. This feels way more natural.
This commit is contained in:
parent
532001f4c1
commit
4fa8acf6ea
2 changed files with 15 additions and 1 deletions
|
@ -233,6 +233,7 @@ private:
|
|||
void clear();
|
||||
void recompute_visual_lines();
|
||||
int visual_line_containing(int column) const;
|
||||
int first_non_whitespace_column() const;
|
||||
|
||||
template<typename Callback>
|
||||
void for_each_visual_line(Callback) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue