From dc39575fb3ef90e5a2689babe7fb335cd88f6727 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Thu, 5 Feb 2026 21:32:25 +0500 Subject: wip --- src/Fl_Text_Buffer.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/Fl_Text_Buffer.cxx') diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index 93bc2e42f..9aa099208 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -267,21 +267,6 @@ char *Fl_Text_Buffer::text() const { } -/* - This function copies verbose whatever is in front and after the gap into a - single buffer. - */ -std::string Fl_Text_Buffer::text_str() const { - std::string t; - if (mLength) { - t.reserve(mLength); - t.insert(0, mBuf, mGapStart); - t.insert(mGapStart, mBuf+mGapEnd, mLength - mGapStart); - } - return t; -} - - /* Set the text buffer to a new string. */ -- cgit v1.2.3