Should we have an `Editor._toggleLinePadding` or similar class to share this line of code so that we don't have to repeat the class in 2 different files?