diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-01-04 20:32:37 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-01-04 20:32:37 +0000 |
| commit | 329f5de33080274b8b2cf3bbb92c61e04b039fa5 (patch) | |
| tree | 9e66dea489fb62825f7ae75e980574df0b6e5e2f /src/Fl_Text_Buffer.cxx | |
| parent | e94960526deac05f056d5073903c53840c4ef836 (diff) | |
Fixed Fl_Text_Display redrawing for focus changes for primary selection and highlight
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index 0865e87b6..86d8e3398 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -669,6 +669,11 @@ void Fl_Text_Buffer::secondary_select_rectangular( int start, int end, redisplay_selection( &oldSelection, &mSecondary ); } +int Fl_Text_Buffer::secondary_selection_position( int *start, int *end + ) { + return mSecondary.position( start, end ); +} + int Fl_Text_Buffer::secondary_selection_position( int *start, int *end, int *isRect, int *rectStart, int *rectEnd ) { return mSecondary.position( start, end, isRect, rectStart, @@ -709,6 +714,11 @@ void Fl_Text_Buffer::highlight_rectangular( int start, int end, redisplay_selection( &oldSelection, &mHighlight ); } +int Fl_Text_Buffer::highlight_position( int *start, int *end + ) { + return mHighlight.position( start, end ); +} + int Fl_Text_Buffer::highlight_position( int *start, int *end, int *isRect, int *rectStart, int *rectEnd ) { return mHighlight.position( start, end, isRect, rectStart, |
