aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testCellBuffer.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26Implement LineEnd method in CellBuffer as it is a basic function and only usesNeil1-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-04Significantly reduce memory used for deleting contiguous ranges backwards.Neil1-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-04Preparatory changes for fix in next commit. Does not change Scintilla behaviour.Neil1-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-05Update suppressions for Cppcheck 2.10. Remove unused variable.rel-5-3-3Neil1-1/+0
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-6/+587
in the margin or in the text.
2021-08-24Remove line end white space.Neil1-2/+2
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-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-09Add @file <filename> comments to follow convention.Neil1-1/+3
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-2/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2018-07-10Optional indexing of line starts in UTF-8 documents by UTF-32 code points andNeil1-0/+288
UTF-16 code units added.
2018-05-13Include <string_view> in tests in case needed.Neil1-0/+1
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil1-1/+1
This option is provisional and experimental.
2018-03-21Include header needed for ptrdiff_t.Mitchell Foral1-0/+1
2018-03-16Remove line-end white space.Neil1-2/+2
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-0/+2
interfaces ILexer4 and IDocument.
2017-06-09Avoid signed safety warnings from GCC 7.Neil1-2/+2
2017-04-29Use std::unique_ptr, std::vector, and move construction to simplify UndoHistoryNeil1-0/+1
and make it easier to modify. Remove out of date warning suppression.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2016-10-08Fix minor warnings in unit tests from MSVC 64-bit.Neil1-7/+7
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2013-11-18Add some tests for CellBuffer.Neil1-0/+140