|
|
We already have buffer() to access the text buffer, but there's never been a way to access the style buffer.
This is a problem I run into constantly, most recently debugging changes to fluid for the CodeEditor, with no way
to access the style buffer in static callbacks for debugging purposes to compare the text + style buffers.
Suggesting the simple addition of:
--- a/FL/Fl_Text_Display.H
+++ b/FL/Fl_Text_Display.H
@@ -171,6 +171,7 @@ public:
\see Fl_Text_Display::buffer(Fl_Text_Buffer& buf)
*/
Fl_Text_Buffer* buffer() const { return mBuffer; }
+ Fl_Text_Buffer* buffer() const { return mStyleBuffer; }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |