Bug about highlighting in TextEditor

Hi, JUCE developers.

In JUCE 6.1.2, when highlighting text in TextEditor, unnecessary lines appears at the position of the space.
But in 6.0.8, this strange behavior is not occurred.

(DemoRunner on Windows, GUI->PropertiesDemo.h)

I think the bug is caused by the change of bounds from float to int in TextEditor::drawContent () in the commit below.


Thanks for reporting. I’ve pushed a fix to the develop branch here:

1 Like

Thanks for your quick fix!