Changeset View
Changeset View
Standalone View
Standalone View
addons/search/search_open_files.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 52 | Q_SIGNALS: | |||
---|---|---|---|---|---|
53 | void searchNextFile(int startLine); | 53 | void searchNextFile(int startLine); | ||
54 | void matchFound(const QString &url, const QString &fileName, const QString &lineContent, int matchLen, | 54 | void matchFound(const QString &url, const QString &fileName, const QString &lineContent, int matchLen, | ||
55 | int line, int column, int endLine, int endColumn); | 55 | int line, int column, int endLine, int endColumn); | ||
56 | void searchDone(); | 56 | void searchDone(); | ||
57 | void searching(const QString &file); | 57 | void searching(const QString &file); | ||
58 | 58 | | |||
59 | private: | 59 | private: | ||
60 | QList<KTextEditor::Document*> m_docList; | 60 | QList<KTextEditor::Document*> m_docList; | ||
61 | int m_nextIndex; | 61 | int m_nextIndex = -1; | ||
62 | QRegularExpression m_regExp; | 62 | QRegularExpression m_regExp; | ||
63 | bool m_cancelSearch; | 63 | bool m_cancelSearch = true; | ||
64 | QString m_fullDoc; | 64 | QString m_fullDoc; | ||
65 | QVector<int> m_lineStart; | 65 | QVector<int> m_lineStart; | ||
66 | QTime m_statusTime; | 66 | QTime m_statusTime; | ||
67 | }; | 67 | }; | ||
68 | 68 | | |||
69 | 69 | | |||
70 | #endif | 70 | #endif |