From 23cfc372a0dab95c688190f49614c1b9090cc435 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 21 May 2002 11:14:59 +0000 Subject: Fix links inside PRE Make style data const in Fl_Text_Display. Use INT input only when step() is an integral value. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Text_Display.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL/Fl_Text_Display.H') diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 7fad70707..02b638f89 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Text_Display.H,v 1.4.2.5 2002/01/01 15:11:28 easysw Exp $" +// "$Id: Fl_Text_Display.H,v 1.4.2.6 2002/05/21 11:14:57 easysw Exp $" // // Header file for Fl_Text_Display class. // @@ -94,7 +94,7 @@ class Fl_Text_Display: public Fl_Group { FL_EXPORT void highlight_data(Fl_Text_Buffer *styleBuffer, - Style_Table_Entry *styleTable, + const Style_Table_Entry *styleTable, int nStyles, char unfinishedStyle, Unfinished_Style_Cb unfinishedHighlightCB, void *cbArg); @@ -193,7 +193,7 @@ class Fl_Text_Display: public Fl_Group { of file (first line of file is 1) */ int mHorizOffsetHint; /* Horizontal scroll pos. in pixels */ int mNStyles; /* Number of entries in styleTable */ - Style_Table_Entry *mStyleTable; /* Table of fonts and colors for + const Style_Table_Entry *mStyleTable; /* Table of fonts and colors for coloring/syntax-highlighting */ char mUnfinishedStyle; /* Style buffer entry which triggers on-the-fly reparsing of region */ @@ -224,5 +224,5 @@ class Fl_Text_Display: public Fl_Group { #endif // -// End of "$Id: Fl_Text_Display.H,v 1.4.2.5 2002/01/01 15:11:28 easysw Exp $". +// End of "$Id: Fl_Text_Display.H,v 1.4.2.6 2002/05/21 11:14:57 easysw Exp $". // -- cgit v1.2.3