aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RESearch.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-12-27Avoid warnings by initializing, using const, and moving assignment out of if.Neil1-6/+6
2023-12-21Bug [#2405]. Avoid character fragments in regular expression search results.Zufu Liu1-2/+14
2023-12-02Bug [#2157]. Fix regular expression search for word begin \< and word end \>.Zufu Liu1-9/+20
2023-11-25Feature [feature-requests:#1503] Use std::array for bittab and simplify use.Zufu Liu1-19/+16
2023-11-23Feature [feature-requests:#1503] Reduce variable scope.Zufu Liu1-62/+47
2023-11-21Bug [#2413]. Fix regular expression search failure.Zufu Liu1-9/+14
2023-11-07Feature [feature-requests:#1501] Use const and simpler indexing.Zufu Liu1-5/+5
2023-11-02Feature [feature-requests:#1500] Remove match text retrieval from MatchOnLinesZufu Liu1-14/+0
as it is redone in SubstituteByPosition. Replace RESearch::pat and RESearch::GrabMatches with retrieving matches as needed in SubstituteByPosition.
2023-10-15Use std::array for regex match positions as it will simplify copying.Neil1-3/+4
This change set does not change behaviour.
2022-08-01Avoid some warnings from Code Analysis.Neil1-13/+18
2021-08-22Follow rule-of-zero / rule-of-5 where reasonable by removing standard operatorsNeil1-4/+0
that are not needed.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-1/+1
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-04-03Feature [feature-requests:#1392]. Minor optimizations of RESearch.Zufu Liu1-11/+12
2020-08-09Use [[fallthrough]] to reduce warnings from Visual Studio static analysis.Neil1-1/+1
2020-03-26Fix spelling mistakes.Neil1-2/+2
2020-03-23Use noexcept, const, and constexpr where possible.Neil1-11/+11
2018-10-11Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-2/+2
2018-05-06Ensuring ptrdiff_t is available by including <cstddef>.Neil1-0/+1
2018-05-03Avoid casts.Neil1-4/+5
2018-04-30Feature [feature-requests:#1215]. Simplify RESearch::ChSetWithCase.Neil1-9/+4
2018-01-28Use std::end when filling arrays as reduces chance of mistake.Neil1-3/+4
2017-10-16Use const for interface CharacterIndexer and its implementation DocumentIndexer.Neil1-3/+3
2017-10-16Bug [#1975]. Avoid duplicate calls by using inline function instead of macro.Zufu Liu1-5/+6
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-09-01Use "Falls through" comments to avoid warnings from GCC 7.1.Neil Hodgson1-0/+1
2017-04-06Added const where possible.Neil1-4/+4
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-1/+1
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-12/+12
and lines.
2017-03-08Fix warnings from Visual Studio 2017.Neil1-2/+2
2015-09-29Mark local functions as static.Neil Hodgson1-1/+1
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil1-0/+1
tool set will not indirectly include <stdexcept>.
2015-02-14Fix doc comments.Neil Hodgson1-2/+2
2014-09-13Avoid extra NUL in strings and unnecessary allocations.Neil1-2/+1
2014-07-24Ensure all fields initialised in constructor.Neil1-10/+7
2014-01-20Fix typos in comments (src)Stefan Weil1-2/+2
2014-04-29Stop disabling warnings where no longer needed.Neil1-5/+0
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-14/+22
Parameter names added to method declarations.
2013-05-04Replacing raw pointers and allocations with std::string.nyamatongwe1-14/+9
2013-04-19Remove unused methods.nyamatongwe1-52/+0
2012-10-04Fix bug where non-ASCII hex escape did not match.nyamatongwe1-1/+1
2011-06-02Fix warnings from an ignored modifier and character indices.nyamatongwe1-3/+3
2010-10-22Addition of '?' regular expression operator to indicate 0 or 1 occurrencesnyamatongwe1-31/+62
and non-greedy matches.
2010-07-12Fix regular expression searches for ranges above 0x80 like [A-€].nyamatongwe1-2/+2
2010-03-14Avoid warning about uninitialised member.nyamatongwe1-0/+1
2009-09-04Fixed warning about fall through which could have caused problems whennyamatongwe1-0/+1
space characters added to set of word characters.
2009-07-21Need stdlib.h for size_t for some compilers.nyamatongwe1-0/+2
2008-12-23Avoid warnings with gcc 4.3nyamatongwe1-2/+3
2008-10-09Bug #2056209 avoiding hidden variable warnings with Sun Studio.nyamatongwe1-11/+11
2008-08-03Fix for bug #2031167 RegExp "^[^(]+$" matches empty line.nyamatongwe1-0/+2