This is basically a continuation of the commits which refactor code out of the base text editor. For instance, 36fa1de4c6 and 3a684586fa. Also removed the doXXXX() forwarding methods.
36fa1de4c6
3a684586fa
Reviewed-by: Thorbjorn Lindeijer