summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Editor.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Text_Editor.H')
-rw-r--r--FL/Fl_Text_Editor.H32
1 files changed, 13 insertions, 19 deletions
diff --git a/FL/Fl_Text_Editor.H b/FL/Fl_Text_Editor.H
index b4e245164..48f8a1ac0 100644
--- a/FL/Fl_Text_Editor.H
+++ b/FL/Fl_Text_Editor.H
@@ -1,6 +1,4 @@
//
-// "$Id$"
-//
// Header file for Fl_Text_Editor class.
//
// Copyright 2001-2010 by Bill Spitzak and others.
@@ -11,11 +9,11 @@
// the file "COPYING" which should have been included with this file. If this
// file is missing or damaged, see the license at:
//
-// http://www.fltk.org/COPYING.php
+// https://www.fltk.org/COPYING.php
//
-// Please report all bugs and problems on the following page:
+// Please see the following page on how to report bugs and issues:
//
-// http://www.fltk.org/str.php
+// https://www.fltk.org/bugs.php
//
/* \file
@@ -44,25 +42,25 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display {
/** Simple linked list item associating a key/state to a function. */
struct Key_Binding {
- int key; ///< the key pressed
- int state; ///< the state of key modifiers
- Key_Func function; ///< associated function
- Key_Binding* next; ///< next key binding in the list
+ int key; ///< the key pressed
+ int state; ///< the state of key modifiers
+ Key_Func function; ///< associated function
+ Key_Binding* next; ///< next key binding in the list
};
Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0);
~Fl_Text_Editor() { remove_all_key_bindings(); }
virtual int handle(int e);
/**
- Sets the current insert mode; if non-zero, new text
- is inserted before the current cursor position. Otherwise, new
- text replaces text at the current cursor position.
+ Sets the current insert mode; if non-zero, new text
+ is inserted before the current cursor position. Otherwise, new
+ text replaces text at the current cursor position.
*/
void insert_mode(int b) { insert_mode_ = b; }
/**
- Gets the current insert mode; if non-zero, new text
- is inserted before the current cursor position. Otherwise, new
- text replaces text at the current cursor position.
+ Gets the current insert mode; if non-zero, new text
+ is inserted before the current cursor position. Otherwise, new
+ text replaces text at the current cursor position.
*/
int insert_mode() { return insert_mode_; }
void tab_nav(int val);
@@ -138,7 +136,3 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display {
#endif
-//
-// End of "$Id$".
-//
-