diff --git a/swig/Fl_Input.i b/swig/Fl_Input.i index bf51465..f43887e 100644 --- a/swig/Fl_Input.i +++ b/swig/Fl_Input.i @@ -7,7 +7,7 @@ This is the FLTK text input widget. It displays a single line of text and lets the user edit it. Normally it is drawn with an inset box and a white background. The text may contain any characters (even 0), and will correctly display anything, using ^X notation for unprintable control characters -and \nnn notation for unprintable characters with the high bit set. It +and \\nnn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-8859-1 character set. Mouse button 1 Moves the cursor to this point. Drag selects characters. Double click selects words. Triple click selects all text. Shift+click @@ -27,7 +27,7 @@ Enter May cause the callback, see when(). region. ^E or End Go to the end of line. ^F or Right Move right -^K Delete to the end of line (next \n character) or deletes a single \n +^K Delete to the end of line (next \\n character) or deletes a single \\n character. These deletions are all concatenated into the clipboard. ^N or Down Move down (for Fl_Multiline_Input only, otherwise it moves to the next input field). diff --git a/swig/Fl_Multiline_Input.i b/swig/Fl_Multiline_Input.i index 7d0b9d5..4629df0 100644 --- a/swig/Fl_Multiline_Input.i +++ b/swig/Fl_Multiline_Input.i @@ -3,7 +3,7 @@ %feature("docstring") ::Fl_Multiline_Input """ -This input field displays '\n' characters as new lines rather than ^J, and +This input field displays '\\n' characters as new lines rather than ^J, and accepts the Return, Tab, and up and down arrow keys. This is for editing multiline text. diff --git a/swig/Fl_Output.i b/swig/Fl_Output.i index 379cf83..6a1684d 100644 --- a/swig/Fl_Output.i +++ b/swig/Fl_Output.i @@ -11,8 +11,8 @@ the contents into other fields or programs. There is a single subclass, Fl_Multiline_Output, which allows you to display multiple lines of text. -The text may contain any characters except \0, and will correctly display -anything, using ^X notation for unprintable control characters and \nnn +The text may contain any characters except \\0, and will correctly display +anything, using ^X notation for unprintable control characters and \\nnn notation for unprintable characters with the high bit set. It assumes the font can draw any characters in the ISO-Latin1 character set. """ ; diff --git a/swig/Fl_Plugin.i b/swig/Fl_Plugin.i index 297e42f..91f63f0 100644 --- a/swig/Fl_Plugin.i +++ b/swig/Fl_Plugin.i @@ -13,14 +13,14 @@ in classes. Plugins should derive a new class from Fl_Plugin as a base: - \code + \\code class My_Plugin : public Fl_Plugin { public: My_Plugin() : Fl_Plugin('effects', 'blur') { } void do_something(...); }; My_Plugin blur_plugin(); - \endcode + \\endcode Plugins can be put into modules and either linked befor distribution, or loaded from dynamically linkable files. An Fl_Plugin_Manager is used to list and