tested with gedit 3.10.4