aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-01-05Backport: Modernize errorlist lexer a little - unnamed namespace, reducing ↵Neil1-20/+19
variable scope, nullptr, constexpr, noexcept. Backport of changeset 7192:eed22a260842.
2019-01-05Backport: Recognize negative line numbers in GCC-format messages.Neil2-1/+6
Cppcheck shows some whole-file errors as line -1. Backport of changeset 7191:c9ef21df2e3c.
2019-01-03Backport: Update suppressions for Cppcheck 1.86.Neil1-0/+7
Backport of changeset 7190:24b78f37c441.
2019-01-03Backport: Avoid shadowing of AutoSurface.Neil1-3/+3
Backport of changeset 7189:8eff2f26b0ee.
2019-01-03Backport: Bug [#2073]. Stop GetCharacterAndWidth returning negative ↵Zufu Liu1-2/+2
character value. This occurred for single-byte encodings and was never hit as GetCharacterAndWidth is only called for multi-byte encodings. Backport of changeset 7188:c836128fa848.
2018-12-12Backport: Feature [feature-requests:#1247]. Handles message groups as well ↵Iain Clarke2-31/+83
as messages. Backport of changeset 7186:8849447859eb.
2018-12-12Backport: Bug [#2069]. LexerCPP: modernize int to std::string conversionJannick1-3/+1
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert int to std::string. Backport of changeset 7185:bff457790150.
2018-12-12Backport: Bug [#2069]. LexCPP: fix bug in arithmetic calculation by adding ↵Jannick2-5/+14
precedence levels The precedence for the implemented arithmetic operators +,-,%,*,/ is added, such that the calculations produce the correct results honoring the standard precedence levels. * Replace characterset setArithmeticOp by setAddOp and setMultOp. * Replace precedence precArithmetic by precMult and precAdd * (EvaluateTokens): Apply new precedences. This fixes the bug in the arithmetic calculation: // lines with 'false' should not be highlighted, // those with 'true' should be. #if 1 + 2 * 3 == 9 false #endif #if (1 + 2) * 3 == 9 true #endif #if 1 + 2 * 3 == 7 true #endif #if 1 == 5 % 2 true #endif #if 6 - 7 == -1 true #endif #if 25 / 5 * 5 == 25 true #endif #if 1 + 2 * 3 % 2 == 1 true #endif #if 1 + 2 * 3 % 2 == 2 + 1 false #endif Backport of changeset 7184:48861f53f719.
2018-12-07Backport: Feature [feature-requests:#1246]. Replace MAKELONG with ↵Zufu Liu1-3/+3
MAKELRESULT and MAKEWPARAM which are more specific. Backport of changeset 7183:3ca4517dc18f.
2018-12-04Backport: Bug [#2062]. Interpret continued preprocessor lines correctly by ↵Neil2-10/+25
reading all of the logical line. Backport of changeset 7182:a40b6aac5b1f.
2018-11-29Backport: Notify with SC_UPDATE_SELECTION when user performs a multiple ↵Neil2-0/+4
selection add. Backport of changeset 7181:77e17d7f972b.
2018-11-28Backport: Move functions to unnamed namespaceJad Altahan1-101/+106
Backport of changeset 7180:473d0b0941fb.
2018-11-28Backport: Removed description of fold.comment as it is shared with other ↵Neil1-2/+1
lexers and the desription from LexCPP.cxx takes precedence. Backport of changeset 7179:16fd3ed0b26d.
2018-11-28Backport: Bug [#2054]. Reimplemented as an object lexer to support substyles ↵Kacper Kasper2-44/+225
for multiple sets of keywords and SCI_PROPERTYNAMES. Backport of changeset 7178:a581d5f71f49.
2019-01-12Fixed LexNim backport error.mitchell1-2/+2
2018-11-21Backport: Changes to IsNumOctal & SCE_NIM_IDENTIFIERJad Altahan1-5/+5
- Removed 0c/0C prefix in IsNumOctal(). Not supported. - Added upper-case type suffixes in SCE_NIM_NUMBER. They are case-insensitive. Backport of changeset 7174:caa5c5b342a1.
2018-11-21Backport: Feature [feature-requests:#1242]. Add lexer for NimJad Altahan7-1/+756
Backport of changeset 7173:3e6cf75864cc.
2018-11-20Bug [#2061]. Fix a crash that occurred when entering a dead key diacritic then aNeil Hodgson2-1/+25
character that can not take that diacritic, such as option+e (acute accent) followed by g. Backport of changeset 7171:d07ee885f2dd, but translated to C++11.
2018-11-18Backport: Bug [#2059]. Update URL in comment.Neil1-1/+1
Backport of changeset 7170:6a7abb3a43c7.
2018-11-25lexlua: Updated ConTeXt Lua lexer with proper diff.mitchell1-10/+14
2018-11-25lexlua: Updated ConTeXt lexer.mitchell1-15/+19
Thanks to Lars Otter.
2018-10-31Added tag rel-3-10-1 for changeset 28b920189a7cmitchell1-0/+1
2018-10-31Updated for 3.10.1.rel-3-10-1mitchell9-15/+97
2018-10-26lexlua: Fixed HTML unit test with lexer update.mitchell1-5/+3
2018-10-26Updated BACKPORTING.mitchell1-6/+47
2018-10-18Backport: Updated case conversion and character categories to Unicode 11.Neil3-62/+187
Fixed history by moving new items into the pending version. Backport of changeset 7120:3d7ba41494e8.
2018-10-17Backport: Use nullptr, default brace and member initialisation for some ↵Neil2-52/+42
simple cases. Backport of changeset 7119:32e2131e1f04.
2018-10-17Backport: Use nullptr and default brace initialisation for some simple cases.Neil3-4/+6
Backport of changeset 7118:526318f7d6c7.
2018-10-17Backport: Bug [#2051]. Correct return value from SCI_MARKERADD for invalid ↵Neil2-5/+9
lines. Backport of changeset 7117:0cbbfacbf008.
2018-10-16Backport: Suppress warnings from cppcheck 1.85.Neil1-0/+10
The useStlAlgorithm suggestions may be worth investigation but they are not obvious so should not be in the default messages for now. Backport of changeset 7116:a0b495cddb79.
2018-10-16Backport: Make damping work in ActionDuration.Colomban Wendling1-1/+1
Backport of changeset 7115:f6d66247a18e.
2018-10-15Backport: Set number of lines wrapped in one go to maintain responsiveness ↵Neil3-2/+17
and efficiency by measuring speed and limiting to around 10 milliseconds. Backport of changeset 7114:efe194662480.
2018-10-15Backport: Extract duration measurement damping and clamping into ↵Neil3-24/+47
ActionDuration class so that it can be reused. Backport of changeset 7113:9b7421470bf8.
2018-10-11Backport: Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil9-31/+31
Backport of changeset 7111:e3cecaf6bd37.
2018-10-11Backport: Add SCI_SETCOMMANDEVENTS API to allow turning off command events.Neil10-15/+55
This can reduce the time taken to fold a document by half. Backport of changeset 7110:09c647755bed.
2018-10-09Backport: Improve performance of Editor::RangeText by avoding per-character ↵Neil1-3/+1
checks. Helps applications that call SCI_GETTARGETTEXT. Backport of changeset 7109:29f0ca6d2d1b, but with const_cast to fix compile error.
2018-10-09Backport: Improve performance of text insertion when Unicode line indexing off.Neil2-7/+16
Backport of changeset 7108:9ef6d056e686.
2018-10-09Backport: Extra tests for out-of-range arguments.Neil1-0/+3
Backport of changeset 7107:d61f8e08117b.
2018-09-30Backport: Synchronize definition and documentation.Neil2-4/+4
Backport of changeset 7102:927e7d62e917.
2018-09-29Backport: Use nullptr when simple.Neil1-6/+6
Backport of changeset 7100:31d188d6cc82.
2018-09-29Backport: Normalize formatting with astyle.Neil1-5/+5
Backport of changeset 7099:4a3900a05537.
2018-09-29Backport: Remove dead code.Neil1-1/+0
Backport changeset 7098:b9de068f7202.
2018-09-29Backport: Bug [#2047]. Avoid processing when SCI_SETZOOM to same value as ↵Zufu Liu1-5/+9
before. Backport of changeset 7097:3276140e9d55.
2018-09-26Backport: Bug [#2046]. Optimize setting up representation.Zufu Liu1-2/+3
Backport of changeset 7096:60dee13d68b2.
2018-09-24Backport: Bug [#2045]. LexCPP: Fix 'elif' token lengthhuki2-3/+8
Backport of changeset 7094:fa4b41e8a452.
2018-09-20Backport: Ignore another warning in LaTeX lexer.Neil1-0/+1
Backport of changeset 7093:c33db3a723c2.
2018-09-20Backport: Fix highlighting of non-ASCII characters in links.maboroshin2-30/+35
Backport of changeset 7092:a55c26c645f8.
2018-09-18Backport: Guard against shifting by negative amount as that is undefined ↵Neil Hodgson2-2/+10
behaviour. Backport of changeset 7090:041e498f21d3.
2018-09-18Backport: Initialize variables to ensure no undefined behaviour.Neil Hodgson1-4/+4
Backport of changeset 7089:d9edff9c928d.
2018-09-16Backport: Use nullptr in Document where appropriate.Neil1-10/+10
Backport of changeset 7088:793a7a86ee7f.