aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/SparseVector.h
AgeCommit message (Collapse)AuthorFilesLines
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+16
in the margin or in the text.
2022-07-29Apply rule-of-zero to delete standard methods where possible as handled byNeil1-6/+0
contained types. This allows flexibility as most lower-level data types can be moved and SplitVector and Partitioning of non-move-only types may be copied. CellBuffer still needs destructor due to incomplete type so retains all standard operations.
2022-07-29Flatten SparseVector to avoid a level of indirection by containing SplitVectorNeil1-53/+53
and Partitioning directly instead of using std::unique_ptr.
2022-07-20Implement PositionNext to iterate. Simpler than IndexAfter for client code whichNeil1-0/+7
is not interested in SparseVector indices.
2022-07-20Add DeleteAll method as quick way to clear everything.Neil1-0/+5
Improves similarity to RunStyles.
2022-07-20Remove unnecessary code in destructor.Neil1-8/+1
2022-07-20Fix setting end element empty.Neil1-1/+1
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.
2019-12-02Add SparseVector::DeleteRange for efficiently removing ranges.Neil1-0/+37
2019-12-02Add SparseVector::IndexAfter for efficiently finding elements in a range.Neil1-0/+7
2019-12-01Allow setting value at end of a SparseVector.Neil1-16/+23
Change representation of SparseVector in tests so last value can be seen.
2019-12-01Fix a bug with deleting the first element in SparseVector that left an extraNeil1-6/+12
empty partition. Add extra checking to Partitioning and turn on checking for UnitTester.
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-3/+5
2018-04-20Feature [feature-requests:#1215]. Fix forwarding reference warnings.Neil1-2/+2
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson1-2/+2
2018-03-16Remove line-end white space.Neil1-1/+1
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-19/+19
2018-02-01Templatize Partitioning so it can hold different types.Neil1-2/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-05-21Make SparseVector work with move-only types.Neil1-67/+38
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-21Make SplitVector work with move-only types like unique_ptr.Neil1-2/+3
Provide InsertEmpty and both const and non-const reference returning operator[]. Add and fix comments.
2017-05-10Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache andNeil1-8/+6
Document.
2017-04-21More consistent deletion of standard methods.Neil1-1/+2
2017-04-19Use =delete for unwanted functions.Neil1-2/+2
2017-03-16Fix use-after-free in fold tags when top line folded then new top line inserted.Neil1-1/+2
In SparseVector, string inserted at start then NULL inserted at start.
2016-10-18Add SparseVector template as a new data structure for storing per-line dataNeil1-0/+186
which is 0 or NULL for most lines.