aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/RunStyles.h
AgeCommit message (Collapse)AuthorFilesLines
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 Partitioning and RunStyles to avoid a level of indirection by containingNeil1-2/+2
SplitVector and Partitioning directly instead of using std::unique_ptr. This will enable more value semantics and reduces potential memory allocation failure scenarios.
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.
2018-04-21Use noexcept in basic data structures where reasonable.Neil1-10/+12
Declare the standard member functions in more classes
2018-03-27Return a FillResult struct from RunStyles::FillRange instead of modifyingNeil1-2/+12
arguments as that is clumsy when converting types.
2018-02-01Templatize RunStyles so it can be over ranges of different types and containNeil1-19/+20
different style types. Currently only instantiated over <int, int>.
2018-02-01Templatize Partitioning so it can hold different types.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-05-10Use unique_ptr fpr Partitioning, RunStyles, SparseVector, PositionCache andNeil1-2/+2
Document.
2017-04-21More consistent deletion of standard methods.Neil1-1/+2
2017-04-19Use =delete for unwanted functions.Neil1-2/+2
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-4/+4
2013-04-15RunStyles can be corrupted by filling 0 length ranges and ranges that go ↵nyamatongwe1-0/+2
past end so throw std::invalid_argument exceptions for these conditions. Provide a Check method to validate the consistency of a RunStyles and throw std::runtime_error if corruption is detected.
2013-01-19Add private copy constructors to prevent copying and avoid warnings.nyamatongwe1-0/+2
2011-06-07Add Find method on RunStyles.nyamatongwe1-0/+1
2011-06-07Add accessor to RunStyles for number of runs so Decoration can use public API.nyamatongwe1-2/+3
Make RunStyles internal methods private. RunFromPosition is const so marker as const.
2011-06-07Make SCN_NEEDSHOWN notification work when word wrap is enabled.nyamatongwe1-0/+2
This fixes the last remaining issue from bug #3291579. From Marko Njezic
2008-05-17Added include guard.nyamatongwe1-0/+5
2008-01-19Made som emethods const.nyamatongwe1-2/+2
2007-07-25Changed ContractionState data structure to be more efficient by not onlynyamatongwe1-0/+1
modifying data near an insertion or deletion when there is good locality of modification.
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+8
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2007-04-19Optimized indicator changing with separate SC_MOD_CHANGEINDICATORnyamatongwe1-2/+2
notification flag.
2007-04-07More decoration code, with modifications reported from document to viewsnyamatongwe1-1/+2
although this isn't optimal. Some checking for null changes. Messages documented. Methods for changing indicators in Accessor so can be used by lexers.
2007-04-05New files that implement decorations.nyamatongwe1-0/+31