aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2019-07-02Bug [#2115]. Backed out changeset: d70ccc4f172a as not undefined behaviour.Neil1-3/+2
2019-07-02Bug [#2115]. Backed out changeset: 74b2c724a1df as not undefined behaviour.Neil1-2/+2
2019-07-01Use noexcept on Document where reasonable with no effect on external interface.Neil2-81/+82
Adds LengthNoExcept method that copies Length but only for internal use.
2019-07-01Use noexcept in HighlightDelimiter - its a simple struct.Neil1-5/+5
2019-07-01Bug [#2115]. Fix undefined behaviour of shifting signed 1 by 31.Zufu Liu1-2/+2
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu5-14/+15
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-29Bug [#2115]. Fix undefined behaviour of shifting negative values.Zufu Liu1-2/+3
2019-06-28Bug [#2116]. Fix deletion of isolated invalid bytes.Zufu Liu1-11/+26
2019-06-22Bug [#1924]. Option to allow block carets to trail selection ranges.Neil2-2/+5
Bit flag value is CARETSTYLE_BLOCK_AFTER=256.
2019-06-21Bug [#2106]. Place line caret in correct location for line caret with block OVR.Neil3-1/+10
That is for CARETSTYLE_LINE | CARETSTYLE_BLOCK mode.
2019-06-22Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ asNeil3-22/+22
INDIC_ is also used for indicator styles.
2019-06-17Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.Zufu Liu4-23/+32
2019-06-15Feature [feature-requests:#1295]. Lexer added for DataFlex.Wil van Antwerpen1-0/+1
2019-06-04Fix extra white space.Neil1-2/+2
2019-06-04Bug [#2104]. Use '%.0f' and casts to double to fix printf format string bugs.Neil1-4/+8
This will extend valid maximum position from 31-bits to 53-bits which is ample.
2019-05-24Support output lengths >2GB for SCI_GETSTYLEDTEXT.Zufu Liu1-2/+2
2019-05-24Optimize SCI_GETSELTEXT by avoiding per-character calls.Zufu Liu1-4/+4
2019-05-24Optimize SCI_GETCURLINE by avoiding per-character calls.Zufu Liu1-5/+3
2019-05-24Optimize SCI_GETLINE by avoiding per-character calls.Zufu Liu1-6/+5
2019-05-17Optimize InsertLines and DeleteLines for ContractionState if no folds ↵Neil1-4/+12
contracted.
2019-05-17Fixed performance bug where line end positions were reset withot need whenNeil1-1/+0
switching from or to Unicode. Only noticeable on huge files.
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil4-9/+9
2019-05-04Bug [#2102]. Allow length argument to be past end of document for SCI_GETTEXT.Zufu Liu1-1/+1
More compatible with state before change set 7489.
2019-05-02Optimize SCI_GETTEXT by calling Document::GetCharRange instead of looping forNeil1-5/+4
each byte.
2019-04-29Feature [feature-requests:#1280]. Lexer added for X12.Iain Clarke1-0/+1
2019-04-28Remove noexcept from Selection constructor as it allocates memory.Neil2-78/+78
Add noexcept to reader methods and simple writer methods on Selection classes.
2019-04-28Declare reading methods as noexcept where reasonable.Neil7-39/+39
2019-04-28Declare KeyMap::Clear() noexcept as called in destructor.Neil2-2/+2
2019-04-26Feature [feature-requests:#1238]. Simplify case forcing with CaseForce functionNeil1-29/+35
that hoists the repeated logic out of the 2 loops that check or set the cached visual line text.
2019-04-26Feature [feature-requests:#1238]. Simplify camel case forcing by checking onlyNeil3-13/+4
for upper and lower case characters instead of current word characters. This changes behaviour for words like "_word" -> "_Word" instead of remaining "_word" but that doesn't matter for this feature's intended use which is to allow display of ASCII-only keywords in the user's preferred casing (else/ELSE/Else) for languages with case-insensitive keywords.
2019-04-25Bug [#1238]. Removed redundant loop.Zufu Liu1-4/+0