| 155 | |
| 156 | |
| 157 | int QsciSciListBox::find(const QString &prefix) |
| 158 | { |
| 159 | QList<QListWidgetItem *> itms = findItems(prefix, |
| 160 | Qt::MatchStartsWith|Qt::MatchCaseSensitive); |
| 161 | |
| 162 | if (itms.size() == 0) |
| 163 | return -1; |
| 164 | |
| 165 | return row(itms[0]); |
| 166 | } |
| 167 | |
| 168 | |
| 169 | QString QsciSciListBox::text(int n) |
no test coverage detected