aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-06-22Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead ↵Neil3-22/+22
of INDIC_ as INDIC_ is also used for indicator styles. Backport of changeset 7594:190079cd334f.
2019-07-11Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.mitchell4-11/+19
Backport of changeset 7575:e1e9f53b0423.
2019-07-11Backport: Feature [feature-requests:#1295]. Lexer added for DataFlex.mitchell1-0/+1
Backport of changeset 7569:ab69548334b7, but with custom `_strnlen` function since `strnlen` is not part of the C or C++ standard.
2019-06-04Backport: Fix extra white space.Neil1-2/+2
Backport of changeset 7547:d0447aca31c5.
2019-06-04Backport: Bug [#2104]. Use '%.0f' and casts to double to fix printf format ↵Neil1-4/+8
string bugs. This will extend valid maximum position from 31-bits to 53-bits which is ample. Backport of changeset 7546:f3b2a4dba48c.
2019-05-24Backport: Support output lengths >2GB for SCI_GETSTYLEDTEXT.Zufu Liu1-2/+2
Backport of changeset 7506:d20bd1c65a73.
2019-05-24Backport: Optimize SCI_GETSELTEXT by avoiding per-character calls.Zufu Liu1-4/+4
Backport of changeset 7505:1de0cb213456.
2019-05-24Backport: Optimize SCI_GETCURLINE by avoiding per-character calls.Zufu Liu1-5/+3
Backport of changeset 7504:b46332260eee.
2019-05-24Backport: Optimize SCI_GETLINE by avoiding per-character calls.Zufu Liu1-6/+5
Backport of changeset 7503:56ccae81df17.
2019-05-17Backport: Optimize InsertLines and DeleteLines for ContractionState if no ↵Neil1-4/+12
folds contracted. Backport of changeset 7500:c4db961b46ab.
2019-05-17Backport: Fixed performance bug where line end positions were reset withot ↵Neil1-1/+0
need when switching from or to Unicode. Only noticeable on huge files. Backport of changeset 7499:d800ba9f7006.
2019-05-11Backport: Feature [feature-requests:#1283]. Standardise spelling - "color" ↵Neil4-9/+9
-> "colour". Backport of changeset 7498:7dd63f4402ae.
2019-05-04Backport: Bug [#2102]. Allow length argument to be past end of document for ↵Zufu Liu1-1/+1
SCI_GETTEXT. More compatible with state before change set 7489. Backport of changeset 7490:2550e2a306c0.
2019-05-02Backport: Optimize SCI_GETTEXT by calling Document::GetCharRange instead of ↵Neil1-5/+4
looping for each byte. Backport of changeset 7489:c9118d39963d.
2019-05-27Backport: Feature [feature-requests:#1280]. Lexer added for X12.mitchell1-0/+1
Backport of changeset 7486:a99fa007805f, but with LexerX12::Terminator struct definition not having default values, which is a C++14 feature.
2019-04-28Backport: Remove noexcept from Selection constructor as it allocates memory.Neil2-78/+78
Add noexcept to reader methods and simple writer methods on Selection classes. Backport of changeset 7483:15ef2a9bb895.
2019-04-28Backport: Declare reading methods as noexcept where reasonable.Neil7-39/+39
Backport of changeset 7482:340b721ecdf4.
2019-04-28Backport: Declare KeyMap::Clear() noexcept as called in destructor.Neil2-2/+2
Backport of changeset 7481:392990fdc714.
2019-04-26Backport: Feature [feature-requests:#1238]. Simplify case forcing with ↵Neil1-29/+35
CaseForce function that hoists the repeated logic out of the 2 loops that check or set the cached visual line text. Backport of changeset 7476:93d24d83d380.
2019-04-26Backport: Feature [feature-requests:#1238]. Simplify camel case forcing by ↵Neil3-13/+4
checking only 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. Backport of changeset 7475:cdb7af706ba1.
2019-04-25Backport: Bug [#1238]. Removed redundant loop.Zufu Liu1-4/+0
Backport of changeset 7471:40f1581baf9e.
2019-04-25Backport: Bug [#1223]. Removed duplicate code.Neil1-2/+1
Backport of changeset 7470:e9627636de12.
2019-05-09Fixed bad backport involving noexcept default constructors for Clang 3.4.mitchell3-3/+3
2019-04-30Fixed bad backport involving noexcept move constructors for GCC 4.8.mitchell1-4/+4
2019-04-17Backport: Bug [#2093]. For DBCS make result of "\x82\xCC" be 0x82CC instead ↵Neil1-1/+1
of 0x82CE. Backport of changeset 7429:1dcd0ca93618.
2019-04-12Backport: Bug [#2093]. Improve efficiency with single byte character sets.Zufu Liu1-0/+8
Backport of changeset 7424:0d4b29e058f7.
2019-04-10Backport: Bug [#2093]. Fix exception when inserting DBCS text.Zufu Liu1-8/+13
Backport of changeset 7415:a7d3bc738c23.
2019-04-10Backport: Use noexcept in CaseConvert as well as std::string_view::copy.Neil1-4/+4
Backport of changeset 7414:599d698f70bf, but without std::string_view::copy.
2019-04-08Backport: Use noexcept where reasonable in ViewStyle.Neil2-33/+32
Backport of changeset 7410:af839955afad.
2019-04-08Backport: Rename FontNames to UniqueStringSet and move into UniqueString.Neil4-41/+49
It may be useful in more situations than just font names. Backport of changeset 7409:a70a4ee51448.
2019-04-07Backport: Make XPM, RGBAImage, and LineMarker copyable and noexcept moveable.Neil3-48/+51
This simplifies and optimizes their use in other classes and containers. Backport of changeset 7408:adc040eac41d.
2019-04-07Backport: Feature [feature-requests:#1276]. Add SC_MARK_VERTICALBOOKMARK.Zufu Liu1-0/+10
Backport of changeset 7407:fc237c9afcdd.
2019-04-17Backport: Move UniqueStringCopy into its own source file UniqueString.cxx to ↵mitchell2-9/+29
hide the implementation. Backport of changeset 7402:751b76b567f9, but with an alternative to C++17's string_view.
2019-04-05Backport: Feature [feature-requests:#1272]. Add API to set default fold ↵Neil7-11/+39
display text. Backport of changeset 7400:9fcb52fdb307.
2019-04-02Backport: Removed variable which duplicated meaning of earlier variable.Neil1-3/+2
Backport of changeset 7398:8d77e52c39f3.
2019-03-31Backport: Feature [feature-requests:#1272]. Add FoldDisplayTextGetStyle to matchZufu Liu1-0/+3
FoldDisplayTextSetStyle. Backport of changeset 7394:8fe3c581aeb9.
2019-04-16Backport: Feature [feature-requests:#1259]. Add ↵mitchell3-1/+19
SCI_SETCHARACTERCATEGORYOPTIMIZATION API to optimize speed of character category features. Backport of changeset 7392:2832adedd0f4, but with added includes for Sci::clamp().
2019-03-29Backport: Include "CharacterCategory.h" in all files that include ↵Neil6-0/+7
"Document.h" as it will be needed for adding a CharacterCategory feature. Backport of changeset 7391:9d98d77e920f.
2019-03-25Backport: Convert #defines to enums and hide them in private section so not ↵Neil1-9/+8
visible to other modules. Backport of changeset 7331:edd77716f615.
2019-03-31Backport: Use generic versions of ceil, floor, round, lround, trunc from ↵mitchell3-10/+10
<cmath>. Backport of changeset 7329:2662ef098d93, but without std::round and std::lround, since older Mac OSX SDKs may not have them.
2019-03-20Backport: Use noexcept where sensible. Rename UTF8 string_view parameters ↵Neil2-6/+6
for clarity. Backport of changeset 7326:2f9b5e1c97ae, but without variable renames, since they are not applicable.
2019-03-20Backport: Implement WStringFromUTF8 to simplify code that creates wstring ↵Neil3-9/+31
objects for regular expressions and calling the Win32 API. Backport of changeset 7325:6148329fb2f3, but replaced std::string_view usage with const char* and size_t components. Also used #ifdef instead of C++17 `if constexpr` at suggestion of Neil.
2019-03-19Backport: Make constructors of simple classes noexcept.Neil7-19/+19
Backport of changeset 7324:3432fd2a959b.
2019-03-19Backport: Make destructors public to avoid warnings.Neil2-2/+6
Backport of changeset 7323:09b4042d7092.
2019-03-18Backport: Add some operators to Point to simplify client code.Neil2-18/+10
Backport of changeset 7321:d488340e94c0.
2019-03-31Backport Avoid hangs in idle styling modes caused by high-priority idle work ↵mitchell2-3/+10
styling. Backport of changeset 7315:57ea0255c8aa, but without constexpr, as non-static data members cannot be constexpr in C++11.
2019-03-09Backport: Use constexpr where reasonable and move groups of static functions ↵mitchell3-10/+18
into unnamed namespace. Backport of changeset 7289:3f930310a0de, but without complicated constexpr functions, since they are not available in C++11.
2019-03-03Backport: Remove destructor that doesn't need to be defined.Neil1-2/+0
Backport of changeset 7288:86ed07cd2809.
2019-03-03Backport: Use noexcept where reasonable.Neil13-113/+113
Backport of changeset 7287:0272b3c3a03b.
2019-03-03Backport: Delete standard methods of UndoGroup so it can not be copied.Neil1-0/+5
Backport of changeset 7286:41c0c578ed2a.