1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Fix for some text editor selection rendering problems.

This commit is contained in:
jules 2013-11-23 16:06:38 +00:00
parent f5be5a7b3c
commit bca169c6fb

View file

@ -1609,13 +1609,9 @@ void TextEditor::drawContent (Graphics& g)
Iterator i (sections, wordWrapWidth, passwordCharacter);
while (i.lineY + 200.0 < clip.getY() && i.next())
{}
if (! selection.isEmpty())
{
Iterator i2 (i);
RectangleList<float> selectionArea;
while (i2.next() && i2.lineY < clip.getBottom())