SWT Text Block Refactoring

Pulled out code into methods to reduce complexity of set_styles method in TbPainter module.

Built off the Strikethrough PR