aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-05Implement access to the identifier of an ILexer5. This also stops unexpectedNeil1-2/+14
container lexing when a lexer is set.
2020-03-31Pass argument as unique_ptr to show transfer of ownership. Add const and ↵Neil1-1/+1
noexcept.
2020-03-27Avoid casts by returning size_t from GetExpanded.Neil1-2/+2
2020-03-29Widen types to size_t to match change from int to position of CallTipSetHltNeil1-3/+3
in Scintilla.iface.
2020-03-25Replace static_cast with dynamic_cast for better type safety and adherence toNeil1-1/+1
C++ Core Guidelines C.146.
2019-12-31Implement SCI_SETILEXER.Neil1-16/+27
2019-12-13Lexilla implemented as loadable lexer.Neil1-2/+0
2019-12-31Move collection of modules from Catalogue.cxx to CatalogueModules.h so it canNeil1-0/+3
be reused.
2019-12-13Hide details of ExternalLexer and export ExternalLexerLoad function only.Neil1-1/+1
2019-12-13Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-0/+8
This allows removal of related #include statements.
2019-06-30Bug [#2038]. Source of input reported in SCN_CHARADDED.Zufu Liu1-4/+4
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT.
2019-06-17Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.Zufu Liu1-5/+9
2019-03-29Include "CharacterCategory.h" in all files that include "Document.h" as it willNeil1-0/+1
be needed for adding a CharacterCategory feature.
2019-03-18Add some operators to Point to simplify client code.Neil1-6/+2
2018-10-11Replace NULL and 0 with nullptr in clear cases of pure C++ code.Neil1-13/+13
2018-05-14Modernize 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.
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-5/+5
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+1
2018-05-03Simplify PropSetSimple, avoid casts, use nullptr.Neil1-1/+1
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil1-1/+1
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil1-0/+5
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil1-20/+20
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil1-3/+2
type.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil1-11/+11
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.
2018-04-05Backed out changeset: 7402342dc7a3 Caching client rectangle on EditView.Neil1-2/+2
This change was not compatible with Cocoa as it uses document-based coordinates rather than view-based.
2018-04-04Cache client rectangle on EditView so it can be used easily inside EditView.Neil1-2/+2
2018-03-15Use forward class definitions of XPM and RGBAImage so only code that uses themNeil1-1/+0
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.
2018-03-09Use Position/Line/int more accurately in preparation for large documents.Neil1-6/+6
2018-03-01Mark variables as const where simple.Neil1-15/+15
2018-02-27Use virtual to ensure LexState overrides LineEndTypesSupported method.Neil1-1/+1
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-6/+0
interfaces ILexer4 and IDocument.
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-08-25Moved *StyleBits* APIs into deprecated category.Neil1-0/+2
2017-07-17Casts required for Unix LP64 after changes to Sci_Position/Sci_PositionU.Neil Hodgson1-10/+16
2017-06-22Add style metadata methods with null implementations.Neil1-0/+49
2017-06-22Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for versionNeil1-22/+22
checking in 4.0. Use lvRelease4 ID.
2017-06-12Simplify mouse and keyboard handling by only retaining the 'WithModifiers" form.Neil1-4/+0
All events include a set of keyboard modifier flags. Older calls that passed individual parameters for each key were removed.
2017-06-11Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-4/+29
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