aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2018-06-21Backport: Feature [feature-requests:#1185]. Add lexers for SAS and Stata.Luke Rasmussen1-0/+2
Backport of changeset 7056:974bc87e0696.
2018-06-12Backport: Remove definition that has never been used.Neil1-1/+0
Backport of changeset 7032:d2d5df7f2c72.
2018-06-10Backport: Using noexcept for simple functions.Neil3-36/+36
Backport of changeset 7029:c726541dbd11.
2018-06-10Backport: Updated the code and comment for running a regex over multiple ↵Neil1-8/+14
lines at once instead of breaking up into lines. Using the preprocessor to hide the multiline code instead of comments so that it is easier to experiment with. Backport of changeset 7028:9227461c9330.
2018-06-06Backport: Added brace for multi-line if and normalized space.Neil1-6/+7
Backport of changeset 7025:f17e1a7e02e3.
2018-06-06Backport: SC_WRAPINDENT_DEEPINDENT added to indent two tabs from previous line.Henrik Hank1-3/+9
Backport of changeset 7024:72c92ed3dc10.
2018-06-04Backport: Reduce scope of captures for lambdas.Neil2-5/+5
Use noexcept. Backport of changeset 7021:764284d21a03.
2018-06-01Backport: Mark constant inline Unicode functions as constexpr.Neil1-4/+4
Backport of changeset 7010:ec151858258f.
2018-05-31Backport: Allow std::unique_ptr to be used more widely.Neil3-0/+3
Backport of changeset 7008:1f95757fa242.
2018-05-30Backport: Add header needed for floor.Neil Hodgson1-0/+1
Backport of changeset 7007:6055a62c94c3.
2018-05-30Backport: Fix comments.Neil1-4/+4
Backport of changeset 7005:19ae9a03d7b0.
2018-06-03Fixed compilation failures with MSVC 2015.mitchell2-3/+3
Thanks to Neil.
2018-05-24Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. ↵Neil7-38/+37
Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. Backport of changeset 6974:e99161ef7bdd.
2018-05-22Backport: Add INDIC_GRADIENT and INDIC_GRADIENTCENTRE indicator types.Neil1-0/+21
Backport of changeset 6966:872900d3ceb0.
2018-05-25Backport: Draw invalid bytes in DBCS when detected as blobs in a similar way ↵mitchell4-1/+103
to UTF-8. Backport of changeset 6962:514fde42ccbf, but without std::string_view.
2018-05-18Backport: Can use const now that Font::GetID is const.Neil2-2/+2
Backport of changeset 6960:6da8a5e47c98.
2018-05-25Backport: Add <vector> to files that include Platform.h as likely needed in ↵mitchell2-0/+2
future. Backport of changeset 6959:b534742f5fa5.
2018-05-16Backport: Use noexcept method to preserve noexcept.Neil1-1/+1
Backport of changeset 6956:beee37b055d6.
2018-05-16Backport: Move implementations into cxx file.Neil4-6/+10
Replace 0 and NULL with nullptr. Update comments. Backport of changeset 6955:440e02c389df.
2018-05-16Backport: Fix regex crash reported with libstdc++ on macOS that occursNeil Hodgson1-7/+0
when the regex has a locale imbued. Backport of changeset 6953:85ff33e92309.
2018-05-15Backport: Drop inclusion of StringCopy.h where possible.Neil2-2/+0
Backport of changeset 6951:b2a17a08a1f8.
2018-05-14Backport: Replace 0 with nullptr.Neil3-6/+6
Backport of changeset 6945:044688817478.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell2-3/+5
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232.