Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-11-26 | Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t. | Neil | 1 | -0/+1 | |
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 | 1 | -0/+1 | |
tests but hidden from most of Scintilla. Access through std::unique_ptr. | |||||
2024-01-30 | Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation, | Neil | 1 | -1/+1 | |
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 | |
2023-12-30 | Add tests for undo history, coalescing, grouping, tentative. | Neil | 1 | -0/+216 | |
2023-11-07 | Feature [feature-requests:#1501] Use string_view and constexpr in unit tests. | Zufu Liu | 1 | -67/+70 | |
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-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-02-05 | Update suppressions for Cppcheck 2.10. Remove unused variable.rel-5-3-3 | Neil | 1 | -1/+0 | |
2022-07-31 | Added change history which can display document changes (modified, saved, ...) | Neil | 1 | -6/+587 | |
in the margin or in the text. | |||||
2021-08-24 | Remove line end white space. | Neil | 1 | -2/+2 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -136/+138 | |
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-05-09 | Add @file <filename> comments to follow convention. | Neil | 1 | -1/+3 | |
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X. | |||||
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 1 | -0/+1 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 1 | -2/+1 | |
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+1 | |
2018-07-10 | Optional indexing of line starts in UTF-8 documents by UTF-32 code points and | Neil | 1 | -0/+288 | |
UTF-16 code units added. | |||||
2018-05-13 | Include <string_view> in tests in case needed. | Neil | 1 | -0/+1 | |
2018-04-17 | Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes. | Neil | 1 | -1/+1 | |
This option is provisional and experimental. | |||||
2018-03-21 | Include header needed for ptrdiff_t. | Mitchell Foral | 1 | -0/+1 | |
2018-03-16 | Remove line-end white space. | Neil | 1 | -2/+2 | |
2018-02-02 | Implement SC_DOCUMENTOPTION_STYLES_NONE. | Neil | 1 | -1/+1 | |
2017-09-11 | The Scintilla namespace is always active for internal symbols and for the lexer | Neil | 1 | -0/+2 | |
interfaces ILexer4 and IDocument. | |||||
2017-06-09 | Avoid signed safety warnings from GCC 7. | Neil | 1 | -2/+2 | |
2017-04-29 | Use std::unique_ptr, std::vector, and move construction to simplify UndoHistory | Neil | 1 | -0/+1 | |
and make it easier to modify. Remove out of date warning suppression. | |||||
2017-04-22 | Include <memory> for std::unique_ptr. | Neil | 1 | -0/+1 | |
2016-10-08 | Fix minor warnings in unit tests from MSVC 64-bit. | Neil | 1 | -7/+7 | |
2015-07-27 | Add Position.h as a place-holder and to allow #include "Position.h" in source. | Neil | 1 | -0/+1 | |
2013-11-18 | Add some tests for CellBuffer. | Neil | 1 | -0/+140 | |