aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2019-04-25Bug [#1223]. Removed duplicate code.Neil1-2/+1
2019-04-17Bug [#2093]. For DBCS make result of "\x82\xCC" be 0x82CC instead of 0x82CE.Neil1-1/+1
2019-04-12Bug [#2093]. Improve efficiency with single byte character sets.Zufu Liu1-0/+8
2019-04-12Bug [#2093]. Remove restrictions on IME input length.Zufu Liu1-2/+0
2019-04-10Bug [#2093]. Fix exception when inserting DBCS text.Zufu Liu1-8/+13
2019-04-10Use noexcept in CaseConvert as well as std::string_view::copy.Neil1-5/+5
2019-04-08Use noexcept where reasonable in ViewStyle.Neil2-33/+32
2019-04-08Rename FontNames to UniqueStringSet and move into UniqueString.Neil4-41/+50
It may be useful in more situations than just font names.
2019-04-07Make XPM, RGBAImage, and LineMarker copyable and noexcept moveable.Neil3-48/+51
This simplifies and optimizes their use in other classes and containers.
2019-04-07Feature [feature-requests:#1276]. Add SC_MARK_VERTICALBOOKMARK.Zufu Liu1-0/+10
2019-04-05Move UniqueStringCopy into its own source file UniqueString.cxx to hide theNeil2-9/+29
implementation.
2019-04-05Feature [feature-requests:#1272]. Add API to set default fold display text.Neil7-11/+38
2019-04-02Removed variable which duplicated meaning of earlier variable.Neil1-3/+2
2019-03-31Feature [feature-requests:#1272]. Add FoldDisplayTextGetStyle to matchZufu Liu1-0/+3
FoldDisplayTextSetStyle.
2019-03-29Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION APINeil3-1/+19
to optimize speed of character category features.
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil6-0/+7
be needed for adding a CharacterCategory feature.
2019-03-25Convert #defines to enums and hide them in private section so not visible toNeil1-9/+8
other modules.
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil4-18/+18
2019-03-20Use noexcept where sensible. Rename UTF8 string_view parameters for clarity.Neil2-35/+35