Debian Codegraph @

debian/patches/swig-docstrings-escape-backslash.patch

raw
1 diff --git a/swig/Fl_Input.i b/swig/Fl_Input.i
2 index bf51465..f43887e 100644
3 --- a/swig/Fl_Input.i
4 +++ b/swig/Fl_Input.i
5 @@ -7,7 +7,7 @@ This is the FLTK text input widget. It displays a single line of text and
6 lets the user edit it. Normally it is drawn with an inset box and a white
7 background. The text may contain any characters (even 0), and will correctly
8 display anything, using ^X notation for unprintable control characters
9 -and \nnn notation for unprintable characters with the high bit set. It
10 +and \\nnn notation for unprintable characters with the high bit set. It
11 assumes the font can draw any characters in the ISO-8859-1 character set.
12 Mouse button 1 Moves the cursor to this point. Drag selects characters.
13 Double click selects words. Triple click selects all text. Shift+click
14 @@ -27,7 +27,7 @@ Enter May cause the callback, see when().
15 region.
16 ^E or End Go to the end of line.
17 ^F or Right Move right
18 -^K Delete to the end of line (next \n character) or deletes a single \n
19 +^K Delete to the end of line (next \\n character) or deletes a single \\n
20 character. These deletions are all concatenated into the clipboard.
21 ^N or Down Move down (for Fl_Multiline_Input only, otherwise it moves
22 to the next input field).
23 diff --git a/swig/Fl_Multiline_Input.i b/swig/Fl_Multiline_Input.i
24 index 7d0b9d5..4629df0 100644
25 --- a/swig/Fl_Multiline_Input.i
26 +++ b/swig/Fl_Multiline_Input.i
27 @@ -3,7 +3,7 @@
28
29 %feature("docstring") ::Fl_Multiline_Input
30 """
31 -This input field displays '\n' characters as new lines rather than ^J, and
32 +This input field displays '\\n' characters as new lines rather than ^J, and
33 accepts the Return, Tab, and up and down arrow keys. This is for editing
34 multiline text.
35
36 diff --git a/swig/Fl_Output.i b/swig/Fl_Output.i
37 index 379cf83..6a1684d 100644
38 --- a/swig/Fl_Output.i
39 +++ b/swig/Fl_Output.i
40 @@ -11,8 +11,8 @@ the contents into other fields or programs.
41 There is a single subclass, Fl_Multiline_Output, which allows you to
42 display multiple lines of text.
43
44 -The text may contain any characters except \0, and will correctly display
45 -anything, using ^X notation for unprintable control characters and \nnn
46 +The text may contain any characters except \\0, and will correctly display
47 +anything, using ^X notation for unprintable control characters and \\nnn
48 notation for unprintable characters with the high bit set. It assumes the
49 font can draw any characters in the ISO-Latin1 character set.
50 """ ;
51 diff --git a/swig/Fl_Plugin.i b/swig/Fl_Plugin.i
52 index 297e42f..91f63f0 100644
53 --- a/swig/Fl_Plugin.i
54 +++ b/swig/Fl_Plugin.i
55 @@ -13,14 +13,14 @@
56 in classes.
57
58 Plugins should derive a new class from Fl_Plugin as a base:
59 - \code
60 + \\code
61 class My_Plugin : public Fl_Plugin {
62 public:
63 My_Plugin() : Fl_Plugin('effects', 'blur') { }
64 void do_something(...);
65 };
66 My_Plugin blur_plugin();
67 - \endcode
68 + \\endcode
69
70 Plugins can be put into modules and either linked befor distribution, or loaded
71 from dynamically linkable files. An Fl_Plugin_Manager is used to list and