aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-03-03Backport: Bug [#2083]. Ensure container notified if Insert pressed when ↵Neil1-0/+4
caret off-screen. Backport of changeset 7285:9fcf43a91078.
2019-03-09Backport: Feature [feature-requests:#1265]. Common Intermediate Language ↵mitchell1-0/+1
(CIL) lexer. Backport of changeset 7283:aaeca7f7cf9d.
2019-02-10Backport: Bug [#2078]. Tidying code.Neil1-2/+1
Backport of changeset 7252:25a0367e9349.
2019-02-09Backport: Bug [#2078]. Fix garbage text from SCI_MOVESELECTEDLINESUP andNeil1-1/+5
SCI_MOVESELECTEDLINESDOWN for rectangular or thin selection by performing no action. Backport of changeset 7251:df5c32512d3d.
2019-02-05Backport: Feature [feature-requests:#1217]. Change API so block just for ↵Zufu Liu4-7/+25
overstrike. Backport of changeset 7249:06b6a93d8e3f.
2019-02-02Backport: Feature [feature-requests:#1217]. Implement CARETSTYLE_BLOCK_ALWAYS.Zufu Liu3-6/+6
Backport of changeset 7248:aba09a1c7c63.
2019-01-15Backport: Fix use of "0" for nulls and mark methods "noexcept" where simple.Neil2-20/+20
Backport of changeset 7234:f4ff793e7ddd.
2019-01-13Backport: Replace the only use of a function from <cctype> with a Scintilla ↵Neil4-5/+3
function. Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments. Backport of changeset 7228:348e55f8107c.
2019-01-06Backport: Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu9-11/+11
Backport of changeset 7195:ce4394f12c76.
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-11-29Backport: Notify with SC_UPDATE_SELECTION when user performs a multiple ↵Neil1-0/+1
selection add. Backport of changeset 7181:77e17d7f972b.
2018-11-21Backport: Feature [feature-requests:#1242]. Add lexer for NimJad Altahan1-0/+1
Backport of changeset 7173:3e6cf75864cc.
2018-10-18Backport: Updated case conversion and character categories to Unicode 11.Neil1-0/+6
Fixed history by moving new items into the pending version. Backport of changeset 7120:3d7ba41494e8.
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 ↵Neil1-1/+1
lines. Backport of changeset 7117:0cbbfacbf008.
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 ↵Neil2-2/+13
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.Neil2-3/+14
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-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-16Backport: Use nullptr in Document where appropriate.Neil1-10/+10
Backport of changeset 7088:793a7a86ee7f.
2018-09-16Backport: Moved declaration to avoid warnings from linters.Neil1-2/+2
Backport of changeset 7087:e408638433a4.
2018-08-29Backport: Allow read access to the key map.Kacper Kasper2-0/+5
Required on Haiku to set up key bindings that include the Cmd modifier. Backport of changeset 7077:1593328120e5.
2018-08-16Backport: On Cocoa, clicks in the blank text margin now put the caret at the ↵Neil Hodgson1-1/+1
start of text instead of performing a margin click action. This matches the I-beam cursor appearance. Backport of changeset 7076:da262571a2a2.
2018-07-31Backport: Define PLAT_HAIKU and use to avoid a reported compilation problem ↵Neil1-1/+1
on 32-bit Haiku where ptrdiff_t and int are the same size but different types. Backport of changeset 7070:406da729a8b3.
2018-07-24Backport: Fix reversion in revision 7063 which removed folding when changing ↵Neil1-0/+1
code page. Changing code page now causes full restyle. Backport of changeset 7068:00b787e2aab1.
2018-07-10Backport: Need <string> for std::string.Neil Hodgson1-0/+1
Backport of changeset 7065:31b87a713c59.
2018-07-10Backport: Optional indexing of line starts in UTF-8 documents by UTF-32 code ↵Neil7-7/+408
points and UTF-16 code units added. Converted instances of C++17 std::string_view to C++11. Also used const_casts where appropriate to fix compile errors. Backport of changeset 7063:0d5edc93e280.
2018-06-21Backport: Removed condition which is always true.Neil1-2/+1
Backport of changeset 7057:dca791f48306.