From b4b6776d8fab585c5fc43fe54dbdb7d3171acf6e Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 1 May 2007 23:20:39 +0000 Subject: Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626) Fixed selection of first word in Fl_Help_View git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_View.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Fl_Help_View.cxx') diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 07c05035f..8ea568e76 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -196,10 +196,6 @@ struct fl_margins { * in a single set of variables. * * Still to do: - * - The viewer flickers like crazy when redrawing. The window should be - * Fl_Double_Window, but is that binary compatible? - * - We should not draw anything when counting (draw_mode>0). That would - * improve performance a lot * - &word; style characters mess up our count inside a word boundary * - we can only select words, no individual characters * - no dragging of the selection into another widget @@ -508,6 +504,7 @@ Fl_Help_View::draw() hv_selection_color = FL_SELECTION_COLOR; hv_selection_text_color = fl_contrast(textcolor_, FL_SELECTION_COLOR); } + current_pos = 0; // Clip the drawing to the inside of the box... fl_push_clip(x() + Fl::box_dx(b), y() + Fl::box_dy(b), -- cgit v1.2.3