[master] 0ceedf3 - Mods for Albrecht's 09/19/20 code review

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 0ceedf3 - Mods for Albrecht's 09/19/20 code review "Greg Ercolano" 19:47 Oct 21 top right image
 
commit 0ceedf3bd6f6b13b096dc3c34d8f31b5e0376aa0
Author:     Greg Ercolano <erco@seriss.com>
AuthorDate: Sat Sep 19 10:43:27 2020 -0700
Commit:     Greg Ercolano <erco@seriss.com>
CommitDate: Mon Oct 19 23:59:50 2020 -0700

    Mods for Albrecht's 09/19/20 code review

 fluid/CodeEditor.h   | 6 +++---
 fluid/StyleParse.cxx | 3 ++-
 fluid/StyleParse.h   | 5 +++--
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git fluid/CodeEditor.h fluid/CodeEditor.h
index 7b79559..bf4b7b4 100644
--- fluid/CodeEditor.h
+++ fluid/CodeEditor.h
@@ -1,7 +1,7 @@
 //
 // Code editor widget for the Fast Light Tool Kit (FLTK).
 //
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2020 by Bill Spitzak and others.
 //
 // This library is free software. Distribution and use rights are outlined in
 // the file "COPYING" which should have been included with this file.  If this
@@ -31,6 +31,8 @@
 #include "StyleParse.h"
 
 class CodeEditor : public Fl_Text_Editor {
+  friend class StyleParse;
+
   static Fl_Text_Display::Style_Table_Entry styletable[];
 
   // 'style_parse()' - Parse text and produce style data.
@@ -54,8 +56,6 @@ class CodeEditor : public Fl_Text_Editor {
 
   // attempt to make the fluid code editor widget honour textsize setting
   void textsize(Fl_Fontsize s);
-
-  friend class StyleParse;
 };
 
 class CodeViewer : public CodeEditor {
diff --git fluid/StyleParse.cxx fluid/StyleParse.cxx
index 97b797e..043f2c8 100644
--- fluid/StyleParse.cxx
+++ fluid/StyleParse.cxx
@@ -1,7 +1,8 @@
 //
-// Syntax highlighting style parser class - erco 09/16/2020
+// Syntax highlighting for the Fast Light Tool Kit (FLTK).
 //
 // Copyright 1998-2020 by Bill Spitzak and others.
+// Copyright 2020 Greg Ercolano.
 //
 // This library is free software. Distribution and use rights are outlined in
 // the file "COPYING" which should have been included with this file.  If this
diff --git fluid/StyleParse.h fluid/StyleParse.h
index e243a7e..97755d6 100644
--- fluid/StyleParse.h
+++ fluid/StyleParse.h
@@ -1,7 +1,8 @@
 //
-// Syntax highlighting style parser class - erco 09/16/2020
+// Syntax highlighting for the Fast Light Tool Kit (FLTK).
 //
 // Copyright 1998-2020 by Bill Spitzak and others.
+// Copyright 2020 Greg Ercolano.
 //
 // This library is free software. Distribution and use rights are outlined in
 // the file "COPYING" which should have been included with this file.  If this
@@ -56,4 +57,4 @@ public:
   int  parse_all_else();          // all other code
 };
 
-#endif //StyleParse_h
+#endif // StyleParse_h
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2020 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.