aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-29Widen types to size_t to match change from int to position of CallTipSetHltNeil3-84/+96
in Scintilla.iface.
2020-03-29Extract arrow drawing to function. Use noexcept, const and other minor changesNeil2-49/+61
to fix warnings before making widening types in the next change set.
2020-03-26Fix spelling mistakes.Neil8-14/+14
2020-03-25Replace static_cast with dynamic_cast for better type safety and adherence toNeil1-1/+1
C++ Core Guidelines C.146.
2020-03-24Use noexcept where possible.Neil4-34/+38
2020-03-24Use noexcept where possible.Neil2-21/+21
2020-03-23Use noexcept, const, and constexpr where possible.Neil2-17/+17
2020-03-23Replace const with constexpr where possible.Neil1-4/+4
2020-03-23perLineData is polymorphic so replace static_cast with dynamic_cast for betterNeil1-5/+5
type safety and adherence to C++ Core Guidelines C.146.
2020-03-23Drop possibility of Sci_Position, Sci::Line, Sci::Position not being ptrdiff_t.Neil1-8/+8
This reduces casting.
2020-03-19Use noexcept in EditModel.Neil2-6/+6
2020-03-19Minor improvements - noexcept, constexpr, cast removal.Neil2-11/+9
2020-03-19Feature [feature-requests:1302] Simplify DrawCarets.Zufu Liu1-5/+4
2020-03-19Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets.Zufu Liu3-1/+6
2020-03-13Using constexpr in UniConversion and CaseConvert.Neil3-6/+6
2020-02-29Add const and noexcept where they make sense.Neil2-8/+8
2020-02-27Feature [feature-requests:497] Structure caret policy data and pass policy forNeil2-71/+68
dragging instead of manipulating global state..
2020-02-21Feature [feature-requests:497] Automatically scroll while dragging text.McLoo1-0/+14
Added automatic scrolling when text dragged near edge of window.
2020-02-15Extract image conversion from RGBA to BGRA premultiplied into common function.Neil2-0/+17
2020-02-15Bug [#2138]. Potential fix to Direct2D crash when updating driver.Mat Berchtold1-1/+7
2020-01-10Bug [#2132]. Only check for LS/PS/NEL when Unicode line ends turned on.Zufu Liu1-1/+1
2020-01-03Added Raku lexer and style properties and example filesMark Reay1-0/+1
2019-12-31Implement SCI_SETILEXER.Neil2-21/+27
2019-12-22Define ILexer5 with methods for retrieving name, ID, and property values.Neil1-1/+1
Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers.
2019-12-13Lexilla implemented as loadable lexer.Neil1-2/+0
2019-12-14Remove links to lexers with SCI_EMPTYCATALOGUE definition.Neil1-0/+4
This allows building a version of SciTE that is statically linked to Scintilla and does not include any lexers but allows the use of lexers provided by loading a DLL.
2019-12-31Move collection of modules from Catalogue.cxx to CatalogueModules.h so it canNeil2-19/+13
be reused.
2019-12-13Move automatic numbering of external lexers from Catalogue to ExternalLexer.Neil2-6/+5
This is preparing to move much of Catalogue into a header for reuse.
2019-12-13Use safe mechanism to convert to function pointers.Neil1-10/+23
Mark noexcept where reasonable. Check that functions are available.
2019-12-13Hide details of ExternalLexer and export ExternalLexerLoad function only.Neil3-58/+72
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-0/+8
This allows removal of related #include statements.
2019-12-02Use noexcept and const where reasonable.Neil2-4/+4
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 extraNeil2-6/+44
empty partition. Add extra checking to Partitioning and turn on checking for UnitTester.
2019-11-26Bug [#2140]. Fix where anchor and caret differ only in amount of virtual spaceNeil1-2/+2
so one was considered start and was moved for an insertion at that position. This could flip the order of the positions or change the length of the selection.
2019-11-25Fix regression in 7773 where position wasn't moved on to account for virtualNeil1-0/+1
space consumption.
2019-11-24Bug [#2140]. Move rather than grow selection when insertion at start.Neil2-5/+18
2019-11-15Feature [feature-requests:#1316] Allow target to have virtual space.Neil3-40/+58
2019-11-15Feature [feature-requests:#1316] Add access to virtual space at start and end ofNeil1-0/+6
multiple selections.
2019-11-12Feature [feature-requests:#1324] Add Hollywood lexer.Andreas Falkenhahn1-0/+1
2019-11-03Bug [#2130]. Setting rectangular selection made faster by reusing surface.Neil1-1/+4
2019-11-01Remove noexcept from allocating constructors as may throw on memory exhaustion.Neil2-2/+2
2019-11-01Avoid calling vector::shrink_to_fit in destructors as it is not noexcept.Neil2-4/+0
The destructors of the members will ensure that everything is correct. Potential unhandled exceptions reported by Coverity.
2019-10-16Feature [feature-requests:#1315] Update to Unicode 12.1.Neil1-3/+5
2019-07-05Bug [#2118]. Add TabMinimumWidth property to API so applications can displayNeil1-0/+7
overviews or minimaps with reasonable layout.
2019-07-05Add SetAppearance method to make changes to appearance settings and only performNeil1-0/+13
invalidation if the setting is actually changed.
2019-09-28Remove virtual call in constructor to stop warnings.Neil1-1/+0
Init was not needed in LineVector as each field is constructed to a good state. This code worked correctly before this change.
2019-09-26Remove extraneous check.Neil1-3/+1