mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
Added Fl_Text_Display::style_buffer(), solves issue #138
This commit is contained in:
@@ -171,6 +171,13 @@ public:
|
||||
\see Fl_Text_Display::buffer(Fl_Text_Buffer& buf)
|
||||
*/
|
||||
Fl_Text_Buffer* buffer() const { return mBuffer; }
|
||||
/**
|
||||
Gets the current style buffer associated with the text widget.
|
||||
Multiple text widgets can be associated with the same style buffer.
|
||||
\return current style buffer
|
||||
\see Fl_Text_Display::highlight_data()
|
||||
*/
|
||||
Fl_Text_Buffer* style_buffer() const { return mStyleBuffer; }
|
||||
|
||||
void redisplay_range(int start, int end);
|
||||
void scroll(int topLineNum, int horizOffset);
|
||||
|
||||
Reference in New Issue
Block a user