aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2016-01-08Bug [#1801]. Fix spelling.Bewied1-2/+2
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-06SCI_SETIDENTIFIERS resets styling ensuring any added identifier are highlighted.Neil1-0/+1
2015-07-03Feature [feature-requests:#1109]. SCN_AUTOCCOMPLETED sent after text insertion.Jonathan Hunt1-6/+12
From Jonathan Hunt.
2015-02-14Fix 64->32 bit conversion warnings.Neil Hodgson1-10/+12
2014-12-06Prevent overlapping text with calltip.Neil1-2/+2
From Mitchell Foral.
2014-10-02Include <stdexcept> so that exceptions derived from std::runtime_error can beNeil1-0/+1
used.
2014-07-19Using const for string argument to allow use with literals.Neil1-1/+1
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil1-0/+3
2014-05-25Handle cases where multiple selection autocompletion requires removing ↵Neil Hodgson1-1/+2
previous text. From Mitchell Foral.
2014-05-24Header include statements are now in a standardised order with that orderNeil1-3/+8
defined in scripts/HeaderOrder.txt.
2014-05-24SCI_AUTOCSETMULTI allows setting whether autocompletion text is inserted at eachNeil1-3/+31
selection when multiple selections are active. From Mitchell Foral.
2014-05-24Removing style byte indicators.Neil1-8/+2
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-27/+28
2014-04-16Allow filtering of insertions.Neil1-2/+2
2014-02-20Reverse order of position adjustment so that calltips are more likelyNeil1-5/+5
to appear below text so lesss likely to cut off start of calltip.
2014-01-14CallTipSetPosStart API added.Neil1-0/+4
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-1/+1
guaranty termination where possible.