- Smart indenting.
- Automatic indenting of pasted text.
- Smart paired characters like brackets.
The first and the last are demonstrated here:
I’m very happy at the speed I was able to develop these features. Automatic indenting of pasted text took 20 minutes to write (once the smart indenter had been written), and smart paired characters I implemented between 6am and 7am this morning. GTK is rich enough and Ruby is expressive enough that it’s just a dream when you combine the two.