Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-07-03 | Feature [feature-requests:#1563]. Move main range in selection serialized form.master | Zufu Liu | 1 | -12/+16 | |
Avoid processing characters multiple times by relying on from_chars munching digit characters instead of searching for delimiters. | |||||
2025-03-08 | Define constants for UTF-8 and UTF-16 implementation for clarity. | Neil | 1 | -0/+33 | |
Add tests to check that inverted conversions yield the original value. | |||||
2025-03-03 | Feature [feature-requests:#1417]. Improve UTF-8 segmentation for some control | Neil | 1 | -0/+131 | |
characters and invalid bytes. Add more test cases. | |||||
2025-02-23 | Silence some warnings in test code.rel-5-5-5 | Neil | 3 | -17/+24 | |
2025-02-23 | Feature [feature-requests:#1540]. Remove unused variable. | Neil | 1 | -17/+0 | |
2025-02-05 | Simplify SelectionRange::Intersect and add SelectionRange constructor from | Neil | 1 | -0/+32 | |
positions without virtual space. Add unit tests. | |||||
2025-02-04 | Use Lexilla.ruleset from sibling lexilla directory instead of path on my | Neil | 1 | -1/+2 | |
personal machine. | |||||
2025-02-04 | Fix segmentation of long lexemes to avoid breaking before modifiers like accents | Neil | 1 | -0/+56 | |
that must be drawn with their base letters. This is only a subset of implementing grapheme cluster boundaries but it improves behaviour with some Asian scripts like Thai and Javanese. Javanese is mostly written with (ASCII) Roman characters so issues will be rare but Thai uses Thai script. Also slightly improves placement of combining accents in European texts. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14822 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16115 | |||||
2025-02-04 | Add overload of UnicodeFromUTF8 that takes a string_view. | Neil | 1 | -0/+5 | |
2025-02-01 | Implement serialization of Selection to and from strings. | Neil | 1 | -0/+112 | |
Requires std::from_chars to be available. | |||||
2025-01-31 | Update comment about modules tested. | Neil | 1 | -17/+11 | |
2025-01-31 | Add default basic constructor and operator!= to SelectionPosition to ease use. | Neil | 4 | -0/+154 | |
Use default member initializer, constexpr for constructors and equality operators and <, [[nodiscard]] for comparison operators. Add simple unit tests for Selection. Not trying to be exhaustive here, just start the process of adding tests. | |||||
2025-01-22 | Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY. | Neil | 1 | -0/+1 | |
2024-11-30 | Feature [feature-requests:#1533]. Tests for BraceMatch. | Zufu Liu | 1 | -0/+49 | |
2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 4 | -0/+4 | |
2024-04-04 | Update Catch testing framework from v2.13.7 to v2.13.10. | Neil | 1 | -61/+78 | |
2024-03-09 | Bug [#2432]. Fix redo failure. | Neil | 1 | -0/+26 | |
2024-02-27 | Restore change history to the extent possible when restoring undo history. | Neil | 1 | -12/+129 | |
2024-02-10 | Add missing header for test. | Neil Hodgson | 1 | -0/+1 | |
2024-02-09 | Avoid overhead of extra start actions that delimited user operations. Now relies | Neil | 1 | -1/+1 | |
on mayCoalesce flag to indicate that a user operation is complete when false. | |||||
2024-02-02 | Implement ScaledVector to store undo positions and lengths using less memory in | Neil | 1 | -0/+50 | |
most cases. Often reduces memory use by around 50% for 32-bit builds and 75% for 64-bit builds as it may use 2-bytes for a position or length instead of 4 or 8 bytes. | |||||
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-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-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-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 | 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. |