aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02Fixed crashes on Win32 related to previous backport.mitchell1-12/+0
2020-06-02Fixed build error on Windows with previous backport.mitchell1-2/+0
2019-12-31Backport: Implement SCI_SETILEXER.Neil2-20/+34
Backport of changeset 7871:ff54e1fc74f3, but with the ability to distinguish between ILexer and ILexer5 interfaces.
2020-06-02Initial, experimental support for upstream ILexer5/lexilla lexers.mitchell3-14/+30
2020-04-17Backport: Arithmetic between enums is deprecated so use constexpr instead of ↵Neil1-7/+7
enum or cast. Added constexpr where reasonable. Backport of changeset 8151:5f70c1eb371b.
2020-04-10Backport: Move static functions into unnamed namespace and simplify line ↵Neil1-20/+22
counting. Backport of changeset 8141:00d61c7df678.
2020-04-10Backport: Run astyle indenter over file.Zufu Liu1-11/+12
Backport of changeset 8139:b15e8d7fed18.
2020-04-24Backport: Feature [feature-requests:1346]. Convert long if-else block to switch.mitchell1-251/+325
Backport of changeset 8138:9f24b2af91f8.
2020-04-10Backport: Remove non-standard whitespace.Zufu Liu1-5/+5
Backport of changeset 8137:a7bfb6d4756c.
2020-04-08Backport: Simplify PerLine, remove casts, use noexcept, const, & constexpr ↵Neil4-60/+56
where possible. Backport of changeset 8130:55de9045370a.
2020-04-08Backport: Feature [feature-requests:1344]. Add methods for iterating through ↵Iain Clarke5-0/+44
the marker handles and marker numbers on a line. Backport of changeset 8129:665c31051e3c.
2020-04-07Backport: Use noexcept and const where possible.Neil2-10/+10
Backport of changeset 8128:e56cf725d51c.
2020-04-05Backport: Perform autoscroll when mouse on pixel just below window.Mitchell Foral1-1/+1
This mostly helps the curses platform where a line of text is a single 'pixel'. Backport of changeset 8109:14e30b7917dd.
2020-04-05Backport: Pass argument as unique_ptr to show transfer of ownership. Add ↵mitchell3-6/+6
const and noexcept. Backport of changeset 8106:f26e186e80a9.
2020-03-27Backport: Avoid casts by returning size_t from GetExpanded.Neil1-2/+2
Backport of changeset 8099:2228fb724ce7.
2020-04-05Backport: Widen types to size_t to match change from int to position of ↵mitchell3-83/+97
CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
2020-03-29Backport: Extract arrow drawing to function. Use noexcept, const and other ↵Neil2-48/+60
minor changes to fix warnings before making widening types in the next change set. Backport of changeset 8097:06cbbf702640.
2020-03-26Backport: Fix spelling mistakes.Neil8-14/+14
Backport of changeset 8028:78a688809e75.
2020-03-25Backport: Replace static_cast with dynamic_cast for better type safety and ↵Neil1-1/+1
adherence to C++ Core Guidelines C.146. Backport of changeset 8024:5893c2efc0d8.
2020-03-24Backport: Use noexcept where possible.Neil4-34/+38
Backport of changeset 8023:7e614e47074d.
2020-03-24Backport: Use noexcept where possible.Neil2-21/+21
Backport of changeset 8022:658a23dc7b4e.
2020-03-23Backport: Use noexcept, const, and constexpr where possible.Neil2-17/+17
Backport of changeset 8021:0dbef7a9205f.
2020-03-23Backport: Replace const with constexpr where possible.Neil1-4/+4
Backport of changeset 8020:3f5593341a23.
2020-03-23Backport: perLineData is polymorphic so replace static_cast with ↵Neil1-5/+5
dynamic_cast for better type safety and adherence to C++ Core Guidelines C.146. Backport of changeset 8019:91a3db714f60.
2020-03-23Backport: Drop possibility of Sci_Position, Sci::Line, Sci::Position not ↵Neil1-8/+8
being ptrdiff_t. This reduces casting. Backport of changeset 8018:8bc54a095c2f.
2020-03-19Backport: Use noexcept in EditModel.Neil2-2/+2
Backport of changeset 8013:77ef8e068676.
2020-03-19Backport: Minor improvements - noexcept, constexpr, cast removal.Neil2-10/+8
Backport of changeset 8012:48f82fb06505.
2020-03-19Backport: Feature [feature-requests:1302] Simplify DrawCarets.Zufu Liu1-5/+4
Backport of changeset 8011:bf8531a046ff.
2020-03-19Backport: Feature [feature-requests:1302] Add IsCaretVisible to simplify ↵Zufu Liu3-1/+6
DrawCarets. Backport of changeset 8010:4b365fa302a2.
2020-03-13Backport: Using constexpr in UniConversion and CaseConvert.Neil3-6/+6
Backport of changeset 8004:7052c60ce1b2.
2020-02-29Backport: Add const and noexcept where they make sense.Neil2-8/+8
Backport of changeset 7991:d7d83db0457a.
2020-02-27Backport: Feature [feature-requests:497] Structure caret policy data and ↵Neil2-71/+68
pass policy for dragging instead of manipulating global state.. Backport of changeset 7990:9716682f5120.
2020-02-21Backport: Feature [feature-requests:497] Automatically scroll while dragging ↵McLoo1-0/+14
text. Added automatic scrolling when text dragged near edge of window. Backport of changeset 7989:e98f6731bd39.
2020-02-15Backport: Extract image conversion from RGBA to BGRA premultiplied into ↵Neil2-0/+17
common function. Backport of changeset 7987:beeac488af4d.
2020-02-15Backport: Bug [#2138]. Potential fix to Direct2D crash when updating driver.Mat Berchtold1-1/+7
Backport of changeset 7985:0ffb5afdbd7f.
2020-01-10Backport: Bug [#2132]. Only check for LS/PS/NEL when Unicode line ends ↵Zufu Liu1-1/+1
turned on. Backport of changeset 7950:375a05c8edd1.
2020-01-06More synchronizing LongTerm3 with default.mitchell2-5/+3
Ideally this covers anything missed during the backport process.
2020-01-05Added Sci::round() and Sci::lround() for better compatibility with the ↵mitchell3-11/+11
default branch. Some olders MacOSX SDKs do not have std::round() or std::lround().
2020-01-05Added Sci::make_unique() and Sci::size() for better compatibility with the ↵mitchell19-83/+82
default branch. std::make_unique() is c++14 and std::size() is c++17.
2020-01-05Synchronizing LongTerm3 with default.mitchell4-3/+12
Ideally this covers anything missed during the backport process.
2020-01-04Backport: Added Raku lexer and style properties and example filesmitchell1-0/+1
Backport of changeset 7900:bcb95162cd06.
2019-12-14Backport: Remove links to lexers with SCI_EMPTYCATALOGUE definition.Neil1-0/+4
This allows building a version of SciTE that is statically linked to Scintilla and does not include any lexers but allows the use of lexers provided by loading a DLL. Backport of changeset 7867:f17a228be4d8.
2020-01-03Backport: Move collection of modules from Catalogue.cxx to ↵mitchell2-19/+13
CatalogueModules.h so it can be reused. Backport of changeset 7866:fff1071ea1db.
2019-12-13Backport: Move automatic numbering of external lexers from Catalogue to ↵Neil2-6/+5
ExternalLexer. This is preparing to move much of Catalogue into a header for reuse. Backport of changeset 7864:616ca0866c49.
2020-01-03Backport: Use safe mechanism to convert to function pointers.mitchell1-10/+23
Mark noexcept where reasonable. Check that functions are available. Backport of changeset 7862:f4cf92e43f48.
2019-12-13Backport: Hide details of ExternalLexer and export ExternalLexerLoad ↵Neil3-58/+72
function only. Backport of changeset 7861:0680563a97c5.
2019-12-13Backport: Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-0/+8
This allows removal of related #include statements. Backport of changeset 7860:4ca969c2fa45.
2019-12-02Backport: Use noexcept and const where reasonable.Neil2-4/+4
Backport of changeset 7781:a9b7308f0522.
2019-12-02Backport: Add SparseVector::DeleteRange for efficiently removing ranges.Neil1-0/+37
Backport of changeset 7780:88e65c696c40.
2019-12-02Backport: Add SparseVector::IndexAfter for efficiently finding elements in a ↵Neil1-0/+7
range. Backport of changeset 7779:67b7e8f152a9.