I just implemented a small new feature for my tiny WYSIWYG website editor WebsitePainter
: The possibility to justify align text in the editor:
This is one of the sitations where it pays back that I wrote the whole text editor myself, instead of relying on some existing control, or maybe even the operating system provided text editor. The original decision for writing my own editor control from scratch was because usually, any generic text editor control never would format text exactly like HTML would do this. Like how it would line wrap words, for example. Or support advanced features, like displaying hyperlinks. But the big advantage I now have is the possibility to be able to extend the control myself easily. Adding the justify align text feature took me about 5 minutes, which is great.
BTW: If you want to write your own text editor as well, think twice: It is incredible time-consuming to implement a text edit control from scratch, even without fancy features such as free text formatting. You really get a bit respect for what your operating system is doing when you tell it to create a small text field. :)