Documentation/Source/eric5.Preferences.PreferencesLexer.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Preferences.PreferencesLexer</h1> 23 <h1>eric5.Preferences.PreferencesLexer</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#81;&#101;x&#116;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97; &#108;&#101;x&#101;&#114; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;. 25 Module implementing a special QextScintilla lexer to handle the preferences.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#PreferencesLexer">PreferencesLexer</a></td> 34 <td><a href="#PreferencesLexer">PreferencesLexer</a></td>
35 <td>&#83;&#117;&#98;&#99;&#108;&#97;&#115;&#115; &#111;&#102; &#81;&#115;&#99;&#105;&#76;&#101;x&#101;&#114; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#108;&#101;x&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100;&#115;.</td> 35 <td>Subclass of QsciLexer to implement preferences specific lexer methods.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#PreferencesLexerError">PreferencesLexerError</a></td> 37 <td><a href="#PreferencesLexerError">PreferencesLexerError</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#97; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#101;&#114;&#114;&#111;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#80;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#76;&#101;x&#101;&#114; &#99;&#108;&#97;&#115;&#115;.</td> 38 <td>Class defining a special error for the PreferencesLexer class.</td>
39 </tr><tr> 39 </tr><tr>
40 <td><a href="#PreferencesLexerLanguageError">PreferencesLexerLanguageError</a></td> 40 <td><a href="#PreferencesLexerLanguageError">PreferencesLexerLanguageError</a></td>
41 <td>&#67;&#108;&#97;&#115;&#115; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#97; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#101;&#114;&#114;&#111;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#80;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#76;&#101;x&#101;&#114; &#99;&#108;&#97;&#115;&#115;.</td> 41 <td>Class defining a special error for the PreferencesLexer class.</td>
42 </tr> 42 </tr>
43 </table> 43 </table>
44 <h3>Functions</h3> 44 <h3>Functions</h3>
45 <table> 45 <table>
46 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
49 <a NAME="PreferencesLexer" ID="PreferencesLexer"></a> 49 <a NAME="PreferencesLexer" ID="PreferencesLexer"></a>
50 <h2>PreferencesLexer</h2> 50 <h2>PreferencesLexer</h2>
51 <p> 51 <p>
52 52
53 </p><p> 53 </p><p>
54 &#83;&#117;&#98;&#99;&#108;&#97;&#115;&#115; &#111;&#102; &#81;&#115;&#99;&#105;&#76;&#101;x&#101;&#114; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115; &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#99; &#108;&#101;x&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100;&#115;. 54 Subclass of QsciLexer to implement preferences specific lexer methods.
55 </p> 55 </p>
56 <h3>Derived from</h3> 56 <h3>Derived from</h3>
57 QsciLexer 57 QsciLexer
58 <h3>Class Attributes</h3> 58 <h3>Class Attributes</h3>
59 <table> 59 <table>
61 </table> 61 </table>
62 <h3>Methods</h3> 62 <h3>Methods</h3>
63 <table> 63 <table>
64 <tr> 64 <tr>
65 <td><a href="#PreferencesLexer.__init__">PreferencesLexer</a></td> 65 <td><a href="#PreferencesLexer.__init__">PreferencesLexer</a></td>
66 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 66 <td>Constructor</td>
67 </tr><tr> 67 </tr><tr>
68 <td><a href="#PreferencesLexer.color">color</a></td> 68 <td><a href="#PreferencesLexer.color">color</a></td>
69 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#102; &#97; &#115;&#116;y&#108;&#101;.</td> 69 <td>Public method to get the colour of a style.</td>
70 </tr><tr> 70 </tr><tr>
71 <td><a href="#PreferencesLexer.defaulEolFill">defaulEolFill</a></td> 71 <td><a href="#PreferencesLexer.defaulEolFill">defaulEolFill</a></td>
72 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 72 <td>Public method to get the default eolFill flag for a style.</td>
73 </tr><tr> 73 </tr><tr>
74 <td><a href="#PreferencesLexer.defaultColor">defaultColor</a></td> 74 <td><a href="#PreferencesLexer.defaultColor">defaultColor</a></td>
75 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#102; &#97; &#115;&#116;y&#108;&#101;.</td> 75 <td>Public method to get the default colour of a style.</td>
76 </tr><tr> 76 </tr><tr>
77 <td><a href="#PreferencesLexer.defaultFont">defaultFont</a></td> 77 <td><a href="#PreferencesLexer.defaultFont">defaultFont</a></td>
78 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 78 <td>Public method to get the default font for a style.</td>
79 </tr><tr> 79 </tr><tr>
80 <td><a href="#PreferencesLexer.defaultPaper">defaultPaper</a></td> 80 <td><a href="#PreferencesLexer.defaultPaper">defaultPaper</a></td>
81 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 81 <td>Public method to get the default background for a style.</td>
82 </tr><tr> 82 </tr><tr>
83 <td><a href="#PreferencesLexer.description">description</a></td> 83 <td><a href="#PreferencesLexer.description">description</a></td>
84 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;v&#101; &#115;&#116;&#114;&#105;&#110;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 84 <td>Public method to get a descriptive string for a style.</td>
85 </tr><tr> 85 </tr><tr>
86 <td><a href="#PreferencesLexer.eolFill">eolFill</a></td> 86 <td><a href="#PreferencesLexer.eolFill">eolFill</a></td>
87 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 87 <td>Public method to get the eolFill flag for a style.</td>
88 </tr><tr> 88 </tr><tr>
89 <td><a href="#PreferencesLexer.font">font</a></td> 89 <td><a href="#PreferencesLexer.font">font</a></td>
90 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 90 <td>Public method to get the font for a style.</td>
91 </tr><tr> 91 </tr><tr>
92 <td><a href="#PreferencesLexer.language">language</a></td> 92 <td><a href="#PreferencesLexer.language">language</a></td>
93 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#101;x&#101;&#114;&#115; &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;.</td> 93 <td>Public method to get the lexers programming language.</td>
94 </tr><tr> 94 </tr><tr>
95 <td><a href="#PreferencesLexer.paper">paper</a></td> 95 <td><a href="#PreferencesLexer.paper">paper</a></td>
96 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 96 <td>Public method to get the background for a style.</td>
97 </tr><tr> 97 </tr><tr>
98 <td><a href="#PreferencesLexer.setColor">setColor</a></td> 98 <td><a href="#PreferencesLexer.setColor">setColor</a></td>
99 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 99 <td>Public method to set the colour for a style.</td>
100 </tr><tr> 100 </tr><tr>
101 <td><a href="#PreferencesLexer.setEolFill">setEolFill</a></td> 101 <td><a href="#PreferencesLexer.setEolFill">setEolFill</a></td>
102 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 102 <td>Public method to set the eolFill flag for a style.</td>
103 </tr><tr> 103 </tr><tr>
104 <td><a href="#PreferencesLexer.setFont">setFont</a></td> 104 <td><a href="#PreferencesLexer.setFont">setFont</a></td>
105 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 105 <td>Public method to set the font for a style.</td>
106 </tr><tr> 106 </tr><tr>
107 <td><a href="#PreferencesLexer.setPaper">setPaper</a></td> 107 <td><a href="#PreferencesLexer.setPaper">setPaper</a></td>
108 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;.</td> 108 <td>Public method to set the background for a style.</td>
109 </tr> 109 </tr>
110 </table> 110 </table>
111 <a NAME="PreferencesLexer.__init__" ID="PreferencesLexer.__init__"></a> 111 <a NAME="PreferencesLexer.__init__" ID="PreferencesLexer.__init__"></a>
112 <h4>PreferencesLexer (Constructor)</h4> 112 <h4>PreferencesLexer (Constructor)</h4>
113 <b>PreferencesLexer</b>(<i>language, parent=None</i>) 113 <b>PreferencesLexer</b>(<i>language, parent=None</i>)
114 <p> 114 <p>
115 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 115 Constructor
116 </p><dl> 116 </p><dl>
117 <dt><i>language</i></dt> 117 <dt><i>language</i></dt>
118 <dd> 118 <dd>
119 &#84;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;. (&#115;&#116;&#114;&#105;&#110;&#103;) 119 The lexer language. (string)
120 </dd><dt><i>parent</i></dt> 120 </dd><dt><i>parent</i></dt>
121 <dd> 121 <dd>
122 &#84;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#108;&#101;x&#101;&#114;. (&#81;&#101;x&#116;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97;) 122 The parent widget of this lexer. (QextScintilla)
123 </dd> 123 </dd>
124 </dl><a NAME="PreferencesLexer.color" ID="PreferencesLexer.color"></a> 124 </dl><a NAME="PreferencesLexer.color" ID="PreferencesLexer.color"></a>
125 <h4>PreferencesLexer.color</h4> 125 <h4>PreferencesLexer.color</h4>
126 <b>color</b>(<i>style</i>) 126 <b>color</b>(<i>style</i>)
127 <p> 127 <p>
128 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#102; &#97; &#115;&#116;y&#108;&#101;. 128 Public method to get the colour of a style.
129 </p><dl> 129 </p><dl>
130 <dt><i>style</i></dt> 130 <dt><i>style</i></dt>
131 <dd> 131 <dd>
132 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 132 the style number (int)
133 </dd> 133 </dd>
134 </dl><dl> 134 </dl><dl>
135 <dt>Returns:</dt> 135 <dt>Returns:</dt>
136 <dd> 136 <dd>
137 &#99;&#111;&#108;&#111;&#117;&#114; 137 colour
138 </dd> 138 </dd>
139 </dl><a NAME="PreferencesLexer.defaulEolFill" ID="PreferencesLexer.defaulEolFill"></a> 139 </dl><a NAME="PreferencesLexer.defaulEolFill" ID="PreferencesLexer.defaulEolFill"></a>
140 <h4>PreferencesLexer.defaulEolFill</h4> 140 <h4>PreferencesLexer.defaulEolFill</h4>
141 <b>defaulEolFill</b>(<i>style</i>) 141 <b>defaulEolFill</b>(<i>style</i>)
142 <p> 142 <p>
143 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 143 Public method to get the default eolFill flag for a style.
144 </p><dl> 144 </p><dl>
145 <dt><i>style</i></dt> 145 <dt><i>style</i></dt>
146 <dd> 146 <dd>
147 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 147 the style number (int)
148 </dd> 148 </dd>
149 </dl><dl> 149 </dl><dl>
150 <dt>Returns:</dt> 150 <dt>Returns:</dt>
151 <dd> 151 <dd>
152 &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; 152 eolFill flag
153 </dd> 153 </dd>
154 </dl><a NAME="PreferencesLexer.defaultColor" ID="PreferencesLexer.defaultColor"></a> 154 </dl><a NAME="PreferencesLexer.defaultColor" ID="PreferencesLexer.defaultColor"></a>
155 <h4>PreferencesLexer.defaultColor</h4> 155 <h4>PreferencesLexer.defaultColor</h4>
156 <b>defaultColor</b>(<i>style</i>) 156 <b>defaultColor</b>(<i>style</i>)
157 <p> 157 <p>
158 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#99;&#111;&#108;&#111;&#117;&#114; &#111;&#102; &#97; &#115;&#116;y&#108;&#101;. 158 Public method to get the default colour of a style.
159 </p><dl> 159 </p><dl>
160 <dt><i>style</i></dt> 160 <dt><i>style</i></dt>
161 <dd> 161 <dd>
162 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 162 the style number (int)
163 </dd> 163 </dd>
164 </dl><dl> 164 </dl><dl>
165 <dt>Returns:</dt> 165 <dt>Returns:</dt>
166 <dd> 166 <dd>
167 &#99;&#111;&#108;&#111;&#117;&#114; 167 colour
168 </dd> 168 </dd>
169 </dl><a NAME="PreferencesLexer.defaultFont" ID="PreferencesLexer.defaultFont"></a> 169 </dl><a NAME="PreferencesLexer.defaultFont" ID="PreferencesLexer.defaultFont"></a>
170 <h4>PreferencesLexer.defaultFont</h4> 170 <h4>PreferencesLexer.defaultFont</h4>
171 <b>defaultFont</b>(<i>style</i>) 171 <b>defaultFont</b>(<i>style</i>)
172 <p> 172 <p>
173 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 173 Public method to get the default font for a style.
174 </p><dl> 174 </p><dl>
175 <dt><i>style</i></dt> 175 <dt><i>style</i></dt>
176 <dd> 176 <dd>
177 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 177 the style number (int)
178 </dd> 178 </dd>
179 </dl><dl> 179 </dl><dl>
180 <dt>Returns:</dt> 180 <dt>Returns:</dt>
181 <dd> 181 <dd>
182 &#102;&#111;&#110;&#116; 182 font
183 </dd> 183 </dd>
184 </dl><a NAME="PreferencesLexer.defaultPaper" ID="PreferencesLexer.defaultPaper"></a> 184 </dl><a NAME="PreferencesLexer.defaultPaper" ID="PreferencesLexer.defaultPaper"></a>
185 <h4>PreferencesLexer.defaultPaper</h4> 185 <h4>PreferencesLexer.defaultPaper</h4>
186 <b>defaultPaper</b>(<i>style</i>) 186 <b>defaultPaper</b>(<i>style</i>)
187 <p> 187 <p>
188 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 188 Public method to get the default background for a style.
189 </p><dl> 189 </p><dl>
190 <dt><i>style</i></dt> 190 <dt><i>style</i></dt>
191 <dd> 191 <dd>
192 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 192 the style number (int)
193 </dd> 193 </dd>
194 </dl><dl> 194 </dl><dl>
195 <dt>Returns:</dt> 195 <dt>Returns:</dt>
196 <dd> 196 <dd>
197 &#99;&#111;&#108;&#111;&#117;&#114; 197 colour
198 </dd> 198 </dd>
199 </dl><a NAME="PreferencesLexer.description" ID="PreferencesLexer.description"></a> 199 </dl><a NAME="PreferencesLexer.description" ID="PreferencesLexer.description"></a>
200 <h4>PreferencesLexer.description</h4> 200 <h4>PreferencesLexer.description</h4>
201 <b>description</b>(<i>style</i>) 201 <b>description</b>(<i>style</i>)
202 <p> 202 <p>
203 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;v&#101; &#115;&#116;&#114;&#105;&#110;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 203 Public method to get a descriptive string for a style.
204 </p><dl> 204 </p><dl>
205 <dt><i>style</i></dt> 205 <dt><i>style</i></dt>
206 <dd> 206 <dd>
207 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 207 the style number (int)
208 </dd> 208 </dd>
209 </dl><dl> 209 </dl><dl>
210 <dt>Returns:</dt> 210 <dt>Returns:</dt>
211 <dd> 211 <dd>
212 &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#115;&#116;y&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 212 description of the style (string)
213 </dd> 213 </dd>
214 </dl><a NAME="PreferencesLexer.eolFill" ID="PreferencesLexer.eolFill"></a> 214 </dl><a NAME="PreferencesLexer.eolFill" ID="PreferencesLexer.eolFill"></a>
215 <h4>PreferencesLexer.eolFill</h4> 215 <h4>PreferencesLexer.eolFill</h4>
216 <b>eolFill</b>(<i>style</i>) 216 <b>eolFill</b>(<i>style</i>)
217 <p> 217 <p>
218 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 218 Public method to get the eolFill flag for a style.
219 </p><dl> 219 </p><dl>
220 <dt><i>style</i></dt> 220 <dt><i>style</i></dt>
221 <dd> 221 <dd>
222 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 222 the style number (int)
223 </dd> 223 </dd>
224 </dl><dl> 224 </dl><dl>
225 <dt>Returns:</dt> 225 <dt>Returns:</dt>
226 <dd> 226 <dd>
227 &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; 227 eolFill flag
228 </dd> 228 </dd>
229 </dl><a NAME="PreferencesLexer.font" ID="PreferencesLexer.font"></a> 229 </dl><a NAME="PreferencesLexer.font" ID="PreferencesLexer.font"></a>
230 <h4>PreferencesLexer.font</h4> 230 <h4>PreferencesLexer.font</h4>
231 <b>font</b>(<i>style</i>) 231 <b>font</b>(<i>style</i>)
232 <p> 232 <p>
233 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 233 Public method to get the font for a style.
234 </p><dl> 234 </p><dl>
235 <dt><i>style</i></dt> 235 <dt><i>style</i></dt>
236 <dd> 236 <dd>
237 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 237 the style number (int)
238 </dd> 238 </dd>
239 </dl><dl> 239 </dl><dl>
240 <dt>Returns:</dt> 240 <dt>Returns:</dt>
241 <dd> 241 <dd>
242 &#102;&#111;&#110;&#116; 242 font
243 </dd> 243 </dd>
244 </dl><a NAME="PreferencesLexer.language" ID="PreferencesLexer.language"></a> 244 </dl><a NAME="PreferencesLexer.language" ID="PreferencesLexer.language"></a>
245 <h4>PreferencesLexer.language</h4> 245 <h4>PreferencesLexer.language</h4>
246 <b>language</b>(<i></i>) 246 <b>language</b>(<i></i>)
247 <p> 247 <p>
248 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#101;x&#101;&#114;&#115; &#112;&#114;&#111;&#103;&#114;&#97;&#109;&#109;&#105;&#110;&#103; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;. 248 Public method to get the lexers programming language.
249 </p><dl> 249 </p><dl>
250 <dt>Returns:</dt> 250 <dt>Returns:</dt>
251 <dd> 251 <dd>
252 &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; 252 language
253 </dd> 253 </dd>
254 </dl><a NAME="PreferencesLexer.paper" ID="PreferencesLexer.paper"></a> 254 </dl><a NAME="PreferencesLexer.paper" ID="PreferencesLexer.paper"></a>
255 <h4>PreferencesLexer.paper</h4> 255 <h4>PreferencesLexer.paper</h4>
256 <b>paper</b>(<i>style</i>) 256 <b>paper</b>(<i>style</i>)
257 <p> 257 <p>
258 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 258 Public method to get the background for a style.
259 </p><dl> 259 </p><dl>
260 <dt><i>style</i></dt> 260 <dt><i>style</i></dt>
261 <dd> 261 <dd>
262 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 262 the style number (int)
263 </dd> 263 </dd>
264 </dl><dl> 264 </dl><dl>
265 <dt>Returns:</dt> 265 <dt>Returns:</dt>
266 <dd> 266 <dd>
267 &#99;&#111;&#108;&#111;&#117;&#114; 267 colour
268 </dd> 268 </dd>
269 </dl><a NAME="PreferencesLexer.setColor" ID="PreferencesLexer.setColor"></a> 269 </dl><a NAME="PreferencesLexer.setColor" ID="PreferencesLexer.setColor"></a>
270 <h4>PreferencesLexer.setColor</h4> 270 <h4>PreferencesLexer.setColor</h4>
271 <b>setColor</b>(<i>c, style</i>) 271 <b>setColor</b>(<i>c, style</i>)
272 <p> 272 <p>
273 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#108;&#111;&#117;&#114; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 273 Public method to set the colour for a style.
274 </p><dl> 274 </p><dl>
275 <dt><i>c</i></dt> 275 <dt><i>c</i></dt>
276 <dd> 276 <dd>
277 &#99;&#111;&#108;&#111;&#117;&#114; (&#105;&#110;&#116;) 277 colour (int)
278 </dd><dt><i>style</i></dt> 278 </dd><dt><i>style</i></dt>
279 <dd> 279 <dd>
280 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 280 the style number (int)
281 </dd> 281 </dd>
282 </dl><a NAME="PreferencesLexer.setEolFill" ID="PreferencesLexer.setEolFill"></a> 282 </dl><a NAME="PreferencesLexer.setEolFill" ID="PreferencesLexer.setEolFill"></a>
283 <h4>PreferencesLexer.setEolFill</h4> 283 <h4>PreferencesLexer.setEolFill</h4>
284 <b>setEolFill</b>(<i>eolfill, style</i>) 284 <b>setEolFill</b>(<i>eolfill, style</i>)
285 <p> 285 <p>
286 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 286 Public method to set the eolFill flag for a style.
287 </p><dl> 287 </p><dl>
288 <dt><i>eolfill</i></dt> 288 <dt><i>eolfill</i></dt>
289 <dd> 289 <dd>
290 &#101;&#111;&#108;&#70;&#105;&#108;&#108; &#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 290 eolFill flag (boolean)
291 </dd><dt><i>style</i></dt> 291 </dd><dt><i>style</i></dt>
292 <dd> 292 <dd>
293 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 293 the style number (int)
294 </dd> 294 </dd>
295 </dl><a NAME="PreferencesLexer.setFont" ID="PreferencesLexer.setFont"></a> 295 </dl><a NAME="PreferencesLexer.setFont" ID="PreferencesLexer.setFont"></a>
296 <h4>PreferencesLexer.setFont</h4> 296 <h4>PreferencesLexer.setFont</h4>
297 <b>setFont</b>(<i>f, style</i>) 297 <b>setFont</b>(<i>f, style</i>)
298 <p> 298 <p>
299 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 299 Public method to set the font for a style.
300 </p><dl> 300 </p><dl>
301 <dt><i>f</i></dt> 301 <dt><i>f</i></dt>
302 <dd> 302 <dd>
303 &#102;&#111;&#110;&#116; 303 font
304 </dd><dt><i>style</i></dt> 304 </dd><dt><i>style</i></dt>
305 <dd> 305 <dd>
306 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 306 the style number (int)
307 </dd> 307 </dd>
308 </dl><a NAME="PreferencesLexer.setPaper" ID="PreferencesLexer.setPaper"></a> 308 </dl><a NAME="PreferencesLexer.setPaper" ID="PreferencesLexer.setPaper"></a>
309 <h4>PreferencesLexer.setPaper</h4> 309 <h4>PreferencesLexer.setPaper</h4>
310 <b>setPaper</b>(<i>c, style</i>) 310 <b>setPaper</b>(<i>c, style</i>)
311 <p> 311 <p>
312 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#103;&#114;&#111;&#117;&#110;&#100; &#102;&#111;&#114; &#97; &#115;&#116;y&#108;&#101;. 312 Public method to set the background for a style.
313 </p><dl> 313 </p><dl>
314 <dt><i>c</i></dt> 314 <dt><i>c</i></dt>
315 <dd> 315 <dd>
316 &#99;&#111;&#108;&#111;&#117;&#114; (&#105;&#110;&#116;) 316 colour (int)
317 </dd><dt><i>style</i></dt> 317 </dd><dt><i>style</i></dt>
318 <dd> 318 <dd>
319 &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;) 319 the style number (int)
320 </dd> 320 </dd>
321 </dl> 321 </dl>
322 <div align="right"><a href="#top">Up</a></div> 322 <div align="right"><a href="#top">Up</a></div>
323 <hr /><hr /> 323 <hr /><hr />
324 <a NAME="PreferencesLexerError" ID="PreferencesLexerError"></a> 324 <a NAME="PreferencesLexerError" ID="PreferencesLexerError"></a>
325 <h2>PreferencesLexerError</h2> 325 <h2>PreferencesLexerError</h2>
326 <p> 326 <p>
327 &#67;&#108;&#97;&#115;&#115; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#97; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#101;&#114;&#114;&#111;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#80;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#76;&#101;x&#101;&#114; &#99;&#108;&#97;&#115;&#115;. 327 Class defining a special error for the PreferencesLexer class.
328 </p> 328 </p>
329 <h3>Derived from</h3> 329 <h3>Derived from</h3>
330 Exception 330 Exception
331 <h3>Class Attributes</h3> 331 <h3>Class Attributes</h3>
332 <table> 332 <table>
334 </table> 334 </table>
335 <h3>Methods</h3> 335 <h3>Methods</h3>
336 <table> 336 <table>
337 <tr> 337 <tr>
338 <td><a href="#PreferencesLexerError.__init__">PreferencesLexerError</a></td> 338 <td><a href="#PreferencesLexerError.__init__">PreferencesLexerError</a></td>
339 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 339 <td>Constructor</td>
340 </tr><tr> 340 </tr><tr>
341 <td><a href="#PreferencesLexerError.__repr__">__repr__</a></td> 341 <td><a href="#PreferencesLexerError.__repr__">__repr__</a></td>
342 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#105;&#110;&#103; &#97; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;.</td> 342 <td>Private method returning a representation of the exception.</td>
343 </tr><tr> 343 </tr><tr>
344 <td><a href="#PreferencesLexerError.__str__">__str__</a></td> 344 <td><a href="#PreferencesLexerError.__str__">__str__</a></td>
345 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#105;&#110;&#103; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;.</td> 345 <td>Private method returning a string representation of the exception.</td>
346 </tr> 346 </tr>
347 </table> 347 </table>
348 <a NAME="PreferencesLexerError.__init__" ID="PreferencesLexerError.__init__"></a> 348 <a NAME="PreferencesLexerError.__init__" ID="PreferencesLexerError.__init__"></a>
349 <h4>PreferencesLexerError (Constructor)</h4> 349 <h4>PreferencesLexerError (Constructor)</h4>
350 <b>PreferencesLexerError</b>(<i></i>) 350 <b>PreferencesLexerError</b>(<i></i>)
351 <p> 351 <p>
352 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 352 Constructor
353 </p><a NAME="PreferencesLexerError.__repr__" ID="PreferencesLexerError.__repr__"></a> 353 </p><a NAME="PreferencesLexerError.__repr__" ID="PreferencesLexerError.__repr__"></a>
354 <h4>PreferencesLexerError.__repr__</h4> 354 <h4>PreferencesLexerError.__repr__</h4>
355 <b>__repr__</b>(<i></i>) 355 <b>__repr__</b>(<i></i>)
356 <p> 356 <p>
357 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#105;&#110;&#103; &#97; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;. 357 Private method returning a representation of the exception.
358 </p><dl> 358 </p><dl>
359 <dt>Returns:</dt> 359 <dt>Returns:</dt>
360 <dd> 360 <dd>
361 &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; &#109;&#101;&#115;&#115;&#97;&#103;&#101; 361 string representing the error message
362 </dd> 362 </dd>
363 </dl><a NAME="PreferencesLexerError.__str__" ID="PreferencesLexerError.__str__"></a> 363 </dl><a NAME="PreferencesLexerError.__str__" ID="PreferencesLexerError.__str__"></a>
364 <h4>PreferencesLexerError.__str__</h4> 364 <h4>PreferencesLexerError.__str__</h4>
365 <b>__str__</b>(<i></i>) 365 <b>__str__</b>(<i></i>)
366 <p> 366 <p>
367 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#114;&#101;&#116;&#117;&#114;&#110;&#105;&#110;&#103; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;. 367 Private method returning a string representation of the exception.
368 </p><dl> 368 </p><dl>
369 <dt>Returns:</dt> 369 <dt>Returns:</dt>
370 <dd> 370 <dd>
371 &#115;&#116;&#114;&#105;&#110;&#103; &#114;&#101;&#112;&#114;&#101;&#115;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; &#109;&#101;&#115;&#115;&#97;&#103;&#101; 371 string representing the error message
372 </dd> 372 </dd>
373 </dl> 373 </dl>
374 <div align="right"><a href="#top">Up</a></div> 374 <div align="right"><a href="#top">Up</a></div>
375 <hr /><hr /> 375 <hr /><hr />
376 <a NAME="PreferencesLexerLanguageError" ID="PreferencesLexerLanguageError"></a> 376 <a NAME="PreferencesLexerLanguageError" ID="PreferencesLexerLanguageError"></a>
377 <h2>PreferencesLexerLanguageError</h2> 377 <h2>PreferencesLexerLanguageError</h2>
378 <p> 378 <p>
379 &#67;&#108;&#97;&#115;&#115; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#97; &#115;&#112;&#101;&#99;&#105;&#97;&#108; &#101;&#114;&#114;&#111;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#80;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#76;&#101;x&#101;&#114; &#99;&#108;&#97;&#115;&#115;. 379 Class defining a special error for the PreferencesLexer class.
380 </p> 380 </p>
381 <h3>Derived from</h3> 381 <h3>Derived from</h3>
382 PreferencesLexerError 382 PreferencesLexerError
383 <h3>Class Attributes</h3> 383 <h3>Class Attributes</h3>
384 <table> 384 <table>
386 </table> 386 </table>
387 <h3>Methods</h3> 387 <h3>Methods</h3>
388 <table> 388 <table>
389 <tr> 389 <tr>
390 <td><a href="#PreferencesLexerLanguageError.__init__">PreferencesLexerLanguageError</a></td> 390 <td><a href="#PreferencesLexerLanguageError.__init__">PreferencesLexerLanguageError</a></td>
391 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 391 <td>Constructor</td>
392 </tr> 392 </tr>
393 </table> 393 </table>
394 <a NAME="PreferencesLexerLanguageError.__init__" ID="PreferencesLexerLanguageError.__init__"></a> 394 <a NAME="PreferencesLexerLanguageError.__init__" ID="PreferencesLexerLanguageError.__init__"></a>
395 <h4>PreferencesLexerLanguageError (Constructor)</h4> 395 <h4>PreferencesLexerLanguageError (Constructor)</h4>
396 <b>PreferencesLexerLanguageError</b>(<i>language</i>) 396 <b>PreferencesLexerLanguageError</b>(<i>language</i>)
397 <p> 397 <p>
398 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 398 Constructor
399 </p> 399 </p>
400 <div align="right"><a href="#top">Up</a></div> 400 <div align="right"><a href="#top">Up</a></div>
401 <hr /> 401 <hr />
402 </body></html> 402 </body></html>

eric ide

mercurial