aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-06-19Reverted experimental Lexilla and SCI_SETILEXER support.mitchell1-23/+18
When testing, it works when compiled with debug symbols enabled, but crashes without them. It doesn't seem worth maintaining.
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.Neil1-15/+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.mitchell1-1/+1
2020-04-05Backport: Pass argument as unique_ptr to show transfer of ownership. Add ↵mitchell1-1/+1
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 ↵mitchell1-3/+3
CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
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-01-05Synchronizing LongTerm3 with default.mitchell1-1/+9
Ideally this covers anything missed during the backport process.
2020-01-03Backport: Move collection of modules from Catalogue.cxx to ↵mitchell1-0/+3
CatalogueModules.h so it can be reused. Backport of changeset 7866:fff1071ea1db.
2019-12-13Backport: Hide details of ExternalLexer and export ExternalLexerLoad ↵Neil1-1/+1
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-07-11Backport: Bug [#2038]. Source of input reported in SCN_CHARADDED.mitchell1-4/+4
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT. Backport of changeset 7613:4cfac35c71bd.
2019-07-11Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.mitchell1-4/+8
Backport of changeset 7575:e1e9f53b0423.
2019-03-29Backport: Include "CharacterCategory.h" in all files that include ↵Neil1-0/+1
"Document.h" as it will be needed for adding a CharacterCategory feature. Backport of changeset 7391:9d98d77e920f.
2019-03-18Backport: Add some operators to Point to simplify client code.Neil1-6/+2
Backport of changeset 7321:d488340e94c0.
2018-10-11Backport: Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-13/+13
Backport of changeset 7111:e3cecaf6bd37.
2018-05-14Backport: Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-3/+3
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed. Backport of changeset 6939:7441dcb96e6a.
2018-05-14Backport: Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-5/+5
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b.
2018-05-03Backport: Simplify PropSetSimple, avoid casts, use nullptr.Neil1-1/+1
Backport of changeset 6788:e9f6386c89d4.
2018-05-01Backport: Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
Backport of changeset 6768:afe3117ead02.
2018-04-28Backport: Delete standard functions on classes where there could be attempts ↵Neil1-0/+5
to copy. Backport of changeset 6756:29866b0927e0.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil1-20/+20
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-05-06Backport: Remove casts that are not needed since sptr_t and Sci::Position ↵mitchell1-3/+2
are the same type. Backport of changeset 6735:ed52dd761341.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil1-11/+11
for 64-bit builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened. Backport of changeset 6705:5c0a80740b8c.
2018-04-05Backport: Backed out changeset: 7402342dc7a3 Caching client rectangle on ↵Neil1-2/+2
EditView. This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based. Backport of changeset 6673:a22abea8d41e.
2018-04-04Backport: Cache client rectangle on EditView so it can be used easily inside ↵Neil1-2/+2
EditView. Backport of changeset 6669:7402342dc7a3.
2018-03-15Backport: Use forward class definitions of XPM and RGBAImage so only code ↵Neil1-1/+0
that uses them needs to #include "XPM.h". Move definition of standard methods on LineMarker from header to implementation to reduce included text and further isolate use of XPM and RGBAImage. Backport of changeset 6624:32adac0930bb.
2018-03-09Backport: Use Position/Line/int more accurately in preparation for large ↵Neil1-6/+6
documents. Backport of changeset 6480:f2650eaa75e6.
2018-03-01Backport: Mark variables as const where simple.Neil1-15/+15
Backport of changeset 6470:d78a4b522662.
2018-02-27Backport: Use virtual to ensure LexState overrides LineEndTypesSupported method.Neil1-1/+1
Backport of changeset 6462:934f6f6451c2.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-6/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-08-28Backport: New header ILoader.h defines ILoader interface as it does not ↵Neil1-0/+1
belong in ILexer.h. Backport of changeset 6383:9c8257ff60b7.
2017-08-25Backport: Moved *StyleBits* APIs into deprecated category.Neil1-0/+2
Backport of changeset 6379:b44bb3627bbd.
2017-07-17Backport: Casts required for Unix LP64 after changes to ↵Neil Hodgson1-10/+16
Sci_Position/Sci_PositionU. Backport of changeset 6351:b7126dd1f020.
2017-06-22Backport: Add style metadata methods with null implementations.Neil1-0/+49
Backport based on changesets 6345:faecbd0078e5 and 6346:72bd27f81477.
2017-06-12Backport: Simplify mouse and keyboard handling by only retaining the ↵Neil1-4/+0
'WithModifiers" form. All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed. Backport of changeset 6310:af83baede430.
2017-06-11Backport: Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-4/+29
Backported from changeset 6306:7e28cdba6d61.
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-04-22Encapsulate the LexInterface of Document.Neil1-3/+3
2017-04-06Added const where possible.Neil1-5/+5
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-5/+4
where it may be needed in the future.
2017-03-31Prefer standard min/max over Platform's as adapts to changed types.Neil1-3/+3
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-12/+12
and lines.
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+1
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-03-04Use C++11 keyword "override" for methods that override a base class.Neil1-1/+1
2017-02-02Using better checked static_cast instead of reinterpret_cast for void*.Neil Hodgson1-1/+1
2016-11-23Implementation of MarginRightClick event.Tse Kit Yam1-2/+12
2016-08-31Bug [#1850]. Use tabs for virtual space in indentation when tabs enabled.jedailey1-1/+1