Create Editor._toggleLinePadding() and small code clean up