diff options
author | Zufu Liu <unknown> | 2023-11-07 14:14:13 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2023-11-07 14:14:13 +1100 |
commit | befae293448be75d5e10c689bcd787ab0d19fb2c (patch) | |
tree | 947523ca8106d711212f37120570a9d1160f09ca /src/RESearch.h | |
parent | e7216769dbeaa7e39262087f02ef8352253f1c03 (diff) | |
download | scintilla-mirror-befae293448be75d5e10c689bcd787ab0d19fb2c.tar.gz |
Feature [feature-requests:#1501] Use const and simpler indexing.
Diffstat (limited to 'src/RESearch.h')
-rw-r--r-- | src/RESearch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index 37f210e13..05bc0e093 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -45,7 +45,7 @@ private: void ChSetWithCase(unsigned char c, bool caseSensitive) noexcept; int GetBackslashExpression(const char *pattern, int &incr) noexcept; - Sci::Position PMatch(const CharacterIndexer &ci, Sci::Position lp, Sci::Position endp, char *ap); + Sci::Position PMatch(const CharacterIndexer &ci, Sci::Position lp, Sci::Position endp, const char *ap); Sci::Position bol; Sci::Position tagstk[MAXTAG]; /* subpat tag stack */ |