Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-01 | Store undo text in ScrapStack, a single allocation instead of one allocation per | Neil | 1 | -22/+41 | |
step. This saves about 50% for a long sequence of single byte actions. | |||||
2024-02-01 | Add UndoAction class as internal type for undo actions and make Action a struct | Neil | 1 | -21/+21 | |
that is used for reporting undo steps to Document. This will allow further minimization of undo memory use. | |||||
2024-02-01 | Move UndoHistory into its own module that is accessible from CellBuffer and | Neil | 4 | -0/+4 | |
tests but hidden from most of Scintilla. Access through std::unique_ptr. | |||||
2024-02-01 | Protect CATCH_CONFIG_WINDOWS_CRTDBG to only be active on Windows to allow | Neil | 1 | -0/+2 | |
building UnitTester.cxx on macOS. | |||||
2024-01-30 | Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation, | Neil | 10 | -30/+34 | |
and unnamed namespace. | |||||
2024-01-29 | Add tests for an undo history with only container actions and 2 levels of undo | Neil | 1 | -3/+39 | |
group nesting. | |||||
2024-01-29 | Add tests for container undo actions, checking that they coalesce when required. | Neil | 1 | -1/+68 | |
2024-01-02 | Fix warnings in test case code mostly by adding const. | Neil | 7 | -70/+73 | |
2024-01-02 | Add tests for undo of Document. | Neil | 1 | -0/+81 | |
2023-12-30 | Add tests for undo history, coalescing, grouping, tentative. | Neil | 1 | -0/+216 | |
2023-12-21 | Bug [#2405]. Avoid character fragments in regular expression search results. | Zufu Liu | 2 | -0/+41 | |
2023-12-14 | Bug [#2405]. Fix regular expression bug in reverse direction where shortened | Zufu Liu | 1 | -1/+1 | |
match returned. | |||||
2023-12-12 | Slight speed up by allowing unitTest.o to compile in parallel with others. | Zufu Liu | 1 | -1/+1 | |
2023-12-12 | Bug [#2405]. Fix regular expression assertion (^, $, \b. \B) failures when using | Zufu Liu | 1 | -5/+32 | |
SCFIND_CXX11REGEX. | |||||
2023-12-11 | Add std::regex tests for assertions in context which are common. | Neil | 1 | -0/+42 | |
Two of these tests are currently returning incorrect results. | |||||
2023-12-09 | Allow parallel building with makefile. | Neil | 1 | -19/+25 | |
2023-12-07 | Simplify substitution checks. | Zufu Liu | 1 | -39/+34 | |
Set global locale for llvm-mingw libc++. Add test for \w+ which currently fails for RESearch. | |||||
2023-12-06 | Shorten tests with some helpers. | Neil | 1 | -106/+83 | |
2023-12-02 | Bug [#2157]. Fix regular expression search for word begin \< and word end \>. | Zufu Liu | 1 | -0/+130 | |
2023-11-05 | Add SCI_SELECTIONFROMPOINT for modifying multiple selections. | Neil | 1 | -3/+36 | |
2023-11-05 | Add SCI_CHANGESELECTIONMODE to simplify selection mode manipulation. | Neil | 1 | -22/+25 | |
2023-11-05 | Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation. | Neil | 1 | -0/+19 | |
2023-11-21 | Bug [#2413]. Fix regular expression search failure. | Zufu Liu | 1 | -0/+11 | |
2023-11-07 | Feature [feature-requests:#1501] Use string_view and constexpr in unit tests. | Zufu Liu | 3 | -119/+122 | |
2023-11-05 | Extract selectionRepresentation so it can be used in other test classes. | Neil | 1 | -9/+10 | |
2023-11-05 | Update unittest method names to work with Python 3.12. | Neil | 2 | -46/+46 | |
2023-11-02 | Feature [feature-requests:#1500] Remove match text retrieval from MatchOnLines | Zufu Liu | 1 | -7/+10 | |
as it is redone in SubstituteByPosition. Replace RESearch::pat and RESearch::GrabMatches with retrieving matches as needed in SubstituteByPosition. | |||||
2023-10-29 | Bug [#2078]. Fix rectangular selections with SCI_MOVESELECTEDLINESUP and | Neil | 1 | -0/+14 | |
SCI_MOVESELECTEDLINESDOWN. | |||||
2023-10-26 | Add LineStartPosition to replace common idiom LineStart(LineFromPosition(x)) as | Neil | 1 | -0/+1 | |
this shortens code. LineStartPosition is also noexcept which allows callers to be noexcept. | |||||
2023-10-26 | Add test for VCHome method. | Neil | 1 | -0/+11 | |
2023-10-26 | Use raw strings and extra escapes to fix "SyntaxWarning: invalid escape ↵ | Neil | 1 | -10/+10 | |
sequence". | |||||
2023-10-26 | Update unittest method names to work with Python 3.12. | Neil | 1 | -1028/+1028 | |
2023-10-26 | Implement LineEnd method in CellBuffer as it is a basic function and only uses | Neil | 1 | -0/+52 | |
CellBuffer fields. Declare LineEnd noexcept as it should never throw and that allows methods calling it to also be noexcept. Call LineEndPosition to simplify Editor::LineSelectionRange. | |||||
2023-10-19 | Fix regex test failures on Unix by setting global locale. | Zufu Liu | 1 | -0/+12 | |
2023-10-18 | Remove unused values that caused warnings. | Neil Hodgson | 1 | -3/+0 | |
2023-10-18 | Fix missing include which caused compilation failure on macOS. | Neil Hodgson | 1 | -0/+1 | |
2023-10-15 | Bug [#2405]. Fix incorrect substitution when searching for a regular expression | Zufu Liu | 1 | -0/+46 | |
backwards. | |||||
2023-10-15 | Use std::array for regex match positions as it will simplify copying. | Neil | 1 | -0/+1 | |
This change set does not change behaviour. | |||||
2023-10-04 | Significantly reduce memory used for deleting contiguous ranges backwards. | Neil | 1 | -3/+3 | |
Compresses sequences of same item in vectors by adding a count field. Fixes Notepad++ issue 13442. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13442 | |||||
2023-10-04 | Preparatory changes for fix in next commit. Does not change Scintilla behaviour. | Neil | 1 | -0/+49 | |
Add tests for contiguous deletions in forward and backward directions. Use symbolic edition values. Rename InsertionSpan to ChangeSpan and insertions to changes as holds both insertions and deletions. Add ChangeStack::Check. Add comments. | |||||
2023-06-25 | Strip line end white-space. | Neil | 1 | -2/+2 | |
2023-03-15 | Fix some warnings from ruff. | Neil | 5 | -24/+25 | |
2023-02-22 | Remove _CRT_SECURE_NO_DEPRECATE. | Neil | 4 | -7/+6 | |
Replace [v]sprintf with bounds checked [v]snprintf. | |||||
2023-02-05 | Update suppressions for Cppcheck 2.10. Remove unused variable.rel-5-3-3 | Neil | 1 | -1/+0 | |
2023-01-12 | Feature [feature-requests:#1474] Simplify with InsertString(string_view). | Zufu Liu | 1 | -0/+11 | |
2023-01-12 | Feature [feature-requests:#1474] Move EOL string function to Document and return | Zufu Liu | 1 | -0/+75 | |
string_view. | |||||
2023-01-10 | Bug [#2372]. Fix SCI_LINESJOIN bug where carriage returns were incorrectly | Zufu Liu | 1 | -0/+43 | |
retained. | |||||
2022-12-02 | Detangle ASCII and multi-byte code for case-insenstive UTF-8 searches. | Neil | 1 | -5/+24 | |
This avoids some work for the common case of ASCII text, which can reduce time taken for search in text that is ASCII or almost-all ASCII by 30%. Ensures that the bytes variable is always initialized. There are a small gains possible by making other minor changes but they would increase code length and add complexity. Add performance test for UTF-8 search in almost-all ASCII document. Increase size of test cases for more consistent results on faster computers. | |||||
2022-11-28 | Bug [#2363]. Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND to | Michael Heath | 1 | -0/+40 | |
go to the start position of the paragraph containing the caret. Only if the caret is already at the start of the paragraph will it go to the start of the previous paragraph. | |||||
2022-11-22 | Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and | Neil | 1 | -0/+39 | |
suffix to be marked as modified in change history. |