aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Decoration.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil1-0/+1
2022-08-14Specify SetCurrentValue as noexcept as that will not change.Neil1-16/+30
Add cast functions to simplify code and avoid warnings.
2022-08-09Fix indentation.Neil1-1/+1
2021-08-28Follow rule-of-zero by removing unnecessary destructors.Neil1-6/+0
2021-08-22Follow rule-of-zero / rule-of-5 where reasonable by removing standard operatorsNeil1-3/+1
that are not needed.
2021-08-07Changes for Cppcheck 2.5.Neil1-1/+1
Shift of unsigned to avoid too much shifting and overflow warnings. Remove condition that was always true. Remove suppressions no longer needed.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-5/+6
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-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
2020-06-11Use noexcept where safe and maintainable.Neil1-2/+2
2020-05-01Make lambdas noexcept.Zufu Liu1-4/+4
2020-05-01Mark Decoration methods noexcept where reasonable.Neil1-20/+20
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil1-2/+2
INDIC_ is also used for indicator styles.
2018-06-04Reduce scope of captures for lambdas.Neil1-3/+3
Use noexcept.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-03-28Templatize decorations to allow 32-bit or 64-bit positions.Neil1-56/+83
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson1-2/+2
2018-03-28Split decorations into interface and implementation.Neil1-7/+104
2018-03-27Return a FillResult struct from RunStyles::FillRange instead of modifyingNeil1-3/+3
arguments as that is clumsy when converting types.
2018-03-16Remove line-end white space.Neil1-2/+2
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-8/+8
2018-03-01Use make_unique in preference to new.Neil1-1/+1
From Effective Modern C++ Item 21.
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-05-10Simplify DecorationList and its clients by using a vector instead of anNeil1-64/+56
intrusive linked list. Restrict clients to a read-only view.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-06Added const where possible.Neil1-4/+4
2017-04-03Prevent warning from MSVC Code Analysis.Neil1-4/+6
2017-04-01More encapsulation for Decoration and DecorationList.Neil1-20/+20
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-4/+5
where it may be needed in the future.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-04Throw an exception for a negative sized reallocation as occurs when askedNeil Hodgson1-0/+1
for more than 2GB.
2014-10-02Allocate indicators for IME use after previously allowed indicators.Neil1-1/+3
2013-07-21Normalising order of language headers.Neil1-2/+2
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-2/+2
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe1-0/+2
block.
2012-02-15Bug #3487440. Fix bug where setting an indicator on for whole documentnyamatongwe1-2/+2
had no effect since that was regarded as an empty indicator.
2011-08-07Do not extend decorations when appending to end of document. Bug #3378718.nyamatongwe1-0/+4
2011-06-07Add accessor to RunStyles for number of runs so Decoration can use public API.nyamatongwe1-1/+1
Make RunStyles internal methods private. RunFromPosition is const so marker as const.
2008-08-09Clear document style now only clears the lexer indicators.nyamatongwe1-8/+0
2008-08-03ClearDocumentStyle clears all indicators in case the lexer has used annyamatongwe1-0/+8
indicator.
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
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-1/+1
notification flag.
2007-04-07More decoration code, with modifications reported from document to viewsnyamatongwe1-3/+4
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/+183