Browse Source

Fix for some text editor selection rendering problems.

tags/2021-05-28
jules 12 years ago
parent
commit
bca169c6fb
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      modules/juce_gui_basics/widgets/juce_TextEditor.cpp

+ 0
- 4
modules/juce_gui_basics/widgets/juce_TextEditor.cpp 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())


Loading…
Cancel
Save