Documentation/Source/eric5.Helpviewer.History.HistoryCompleter.html

changeset 3591
2f2a4a76dd22
parent 3018
70924c0bdaf1
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
155 </tr><tr> 155 </tr><tr>
156 <td><a href="#HistoryCompletionModel.data">data</a></td> 156 <td><a href="#HistoryCompletionModel.data">data</a></td>
157 <td>Public method to get data from the model.</td> 157 <td>Public method to get data from the model.</td>
158 </tr><tr> 158 </tr><tr>
159 <td><a href="#HistoryCompletionModel.filterAcceptsRow">filterAcceptsRow</a></td> 159 <td><a href="#HistoryCompletionModel.filterAcceptsRow">filterAcceptsRow</a></td>
160 <td>Protected method to determine, if the row is acceptable.</td> 160 <td>Public method to determine, if the row is acceptable.</td>
161 </tr><tr> 161 </tr><tr>
162 <td><a href="#HistoryCompletionModel.isValid">isValid</a></td> 162 <td><a href="#HistoryCompletionModel.isValid">isValid</a></td>
163 <td>Public method to check the model for validity.</td> 163 <td>Public method to check the model for validity.</td>
164 </tr><tr> 164 </tr><tr>
165 <td><a href="#HistoryCompletionModel.lessThan">lessThan</a></td> 165 <td><a href="#HistoryCompletionModel.lessThan">lessThan</a></td>
166 <td>Protected method used to sort the displayed items.</td> 166 <td>Public method used to sort the displayed items.</td>
167 </tr><tr> 167 </tr><tr>
168 <td><a href="#HistoryCompletionModel.searchString">searchString</a></td> 168 <td><a href="#HistoryCompletionModel.searchString">searchString</a></td>
169 <td>Public method to get the current search string.</td> 169 <td>Public method to get the current search string.</td>
170 </tr><tr> 170 </tr><tr>
171 <td><a href="#HistoryCompletionModel.setSearchString">setSearchString</a></td> 171 <td><a href="#HistoryCompletionModel.setSearchString">setSearchString</a></td>
209 </dd> 209 </dd>
210 </dl><a NAME="HistoryCompletionModel.filterAcceptsRow" ID="HistoryCompletionModel.filterAcceptsRow"></a> 210 </dl><a NAME="HistoryCompletionModel.filterAcceptsRow" ID="HistoryCompletionModel.filterAcceptsRow"></a>
211 <h4>HistoryCompletionModel.filterAcceptsRow</h4> 211 <h4>HistoryCompletionModel.filterAcceptsRow</h4>
212 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>) 212 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>)
213 <p> 213 <p>
214 Protected method to determine, if the row is acceptable. 214 Public method to determine, if the row is acceptable.
215 </p><dl> 215 </p><dl>
216 <dt><i>sourceRow</i></dt> 216 <dt><i>sourceRow</i></dt>
217 <dd> 217 <dd>
218 row number in the source model (integer) 218 row number in the source model (integer)
219 </dd><dt><i>sourceParent</i></dt> 219 </dd><dt><i>sourceParent</i></dt>
237 </dd> 237 </dd>
238 </dl><a NAME="HistoryCompletionModel.lessThan" ID="HistoryCompletionModel.lessThan"></a> 238 </dl><a NAME="HistoryCompletionModel.lessThan" ID="HistoryCompletionModel.lessThan"></a>
239 <h4>HistoryCompletionModel.lessThan</h4> 239 <h4>HistoryCompletionModel.lessThan</h4>
240 <b>lessThan</b>(<i>left, right</i>) 240 <b>lessThan</b>(<i>left, right</i>)
241 <p> 241 <p>
242 Protected method used to sort the displayed items. 242 Public method used to sort the displayed items.
243 </p><p> 243 </p><p>
244 It implements a special sorting function based on the history entry's 244 It implements a special sorting function based on the history entry's
245 frequency giving a bonus to hits that match on a word boundary so that 245 frequency giving a bonus to hits that match on a word boundary so that
246 e.g. "dot.python-projects.org" is a better result for typing "dot" than 246 e.g. "dot.python-projects.org" is a better result for typing "dot" than
247 "slashdot.org". However, it only looks for the string in the host name, 247 "slashdot.org". However, it only looks for the string in the host name,

eric ide

mercurial