Changeset View
Changeset View
Standalone View
Standalone View
src/completion/katecompletionmodel.h
Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Line(s) | 247 | { | |||
---|---|---|---|---|---|
248 | return m_haveExactMatch; | 248 | return m_haveExactMatch; | ||
249 | } | 249 | } | ||
250 | 250 | | |||
251 | void clearExactMatch() | 251 | void clearExactMatch() | ||
252 | { | 252 | { | ||
253 | m_haveExactMatch = false; | 253 | m_haveExactMatch = false; | ||
254 | } | 254 | } | ||
255 | 255 | | |||
256 | bool haveContainsMatch() const | ||||
257 | { | ||||
258 | return m_haveContainsMatch; | ||||
259 | } | ||||
260 | | ||||
256 | QString name() const | 261 | QString name() const | ||
257 | { | 262 | { | ||
258 | return m_nameColumn; | 263 | return m_nameColumn; | ||
259 | } | 264 | } | ||
260 | 265 | | |||
261 | private: | 266 | private: | ||
262 | KateCompletionModel *model; | 267 | KateCompletionModel *model; | ||
263 | ModelRow m_sourceRow; | 268 | ModelRow m_sourceRow; | ||
264 | 269 | | |||
265 | mutable QString m_nameColumn; | 270 | mutable QString m_nameColumn; | ||
266 | 271 | | |||
267 | int inheritanceDepth; | 272 | int inheritanceDepth; | ||
268 | 273 | | |||
269 | // True when currently matching completion string | 274 | // True when currently matching completion string | ||
270 | MatchType matchCompletion; | 275 | MatchType matchCompletion; | ||
271 | // True when passes all active filters | 276 | // True when passes all active filters | ||
272 | bool matchFilters; | 277 | bool matchFilters; | ||
273 | bool m_haveExactMatch; | 278 | bool m_haveExactMatch; | ||
279 | bool m_haveContainsMatch; | ||||
274 | bool m_unimportant; | 280 | bool m_unimportant; | ||
275 | 281 | | |||
276 | QString completionSortingName() const; | 282 | QString completionSortingName() const; | ||
277 | }; | 283 | }; | ||
278 | 284 | | |||
279 | public: | 285 | public: | ||
280 | // Grouping and sorting of rows | 286 | // Grouping and sorting of rows | ||
281 | class Group | 287 | class Group | ||
▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines |