diff options
Diffstat (limited to 'plugingui/textedit.cc')
| -rw-r--r-- | plugingui/textedit.cc | 11 | 
1 files changed, 0 insertions, 11 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc index 63b4cd4..abfb3ab 100644 --- a/plugingui/textedit.cc +++ b/plugingui/textedit.cc @@ -56,12 +56,6 @@ void TextEdit::resize(std::size_t width, std::size_t height)  	Widget::resize(width, height);  	scroll.resize(scroll.width(), height - 14);  	scroll.move(width - 23, 7); - -	// TODO: This might be bad for performance. Improve at some point. -	if (adapt_text_on_resize) -	{ -		preprocessText(); -	}  }  void TextEdit::setReadOnly(bool readonly) @@ -88,11 +82,6 @@ std::string TextEdit::text()  	return _text;  } -void TextEdit::adaptTextOnResize(bool adapt) -{ -	adapt_text_on_resize = adapt; -} -  void TextEdit::preprocessText()  {  	preprocessedtext.clear();  | 
