This functionality seems to have been accidentally removed in the big 5164375a revert for gedit 43. Let's restore the previous behaviour.
Fixes #575.
Merge details
Did not close #575