diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 21:32:25 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 21:32:25 +0500 |
| commit | dc39575fb3ef90e5a2689babe7fb335cd88f6727 (patch) | |
| tree | 24f6cef8f2b558ae6f1f812c75be0c09a53fe417 /src/Fl_Text_Buffer.cxx | |
| parent | 7d3793ce1d8cb26e7608bf859beca21359cec6e9 (diff) | |
wip
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
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 @@ -268,21 +268,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. */ void Fl_Text_Buffer::text(const char *t) |
