mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
GTextEditor: Add very basic automatic indentation.
This is off by default, but enabled by TextEditor. It simply inserts the same number of leading spaces as the previous line when hitting Enter. :^)
This commit is contained in:
parent
8a3d00ac02
commit
71770e000b
5 changed files with 38 additions and 2 deletions
|
@ -61,6 +61,8 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
static String repeated(char, int count);
|
||||
|
||||
int to_int(bool& ok) const;
|
||||
unsigned to_uint(bool& ok) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue