TextEditor not underlining spaces using insertTextAtCaret


#1

Hi.

The following code:

editor.setFont(Font(20, Font::underlined));
editor.insertTextAtCaret("Testing 12 3  4 5 56 6");

Produces the following output:

Is there something I need to set in order to underline spaces or is this some sort of bug?
Thanks a lot.


#2

Yeah, I guess that’s a mistake. I’ll look at it when I get chance.


#3

Ok. Thanks!