aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
AgeCommit message (Collapse)AuthorFilesLines
2021-01-29Remove Lexilla files from ScintillaNeil24-2485/+0
2021-01-29Move CharacterSet and CharacterCategory from lexlib to src as in both ↵Neil4-4358/+0
Lexilla and Scintilla
2020-07-16Add constexpr, const, noexcept and make other small improvements to lexlib.Neil13-96/+90
2020-07-16Add move constructor to complete set of standard methods.Neil1-14/+21
2020-07-16Make EncodingType an enum class.Neil2-6/+6
2020-06-11Use const and noexcept for CatalogueModules.Neil1-6/+6
While CatalogueModules is in lexlib, it is newer with few users so does not have to remain as fixed as other files in lexlib.
2020-03-27Avoid casts by returning size_t from GetExpanded.Neil2-3/+3
2020-01-31Feature [feature-requests:#1336] Add default argument for GetRelative.David Shuman1-2/+2
2019-12-22Define ILexer5 with methods for retrieving name, ID, and property values.Neil9-11/+60
Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers.
2019-11-09Remember string values in OptionSet so can be easily retrieved.Neil1-1/+14
2019-12-31Move collection of modules from Catalogue.cxx to CatalogueModules.h so it canNeil2-1/+71
be reused.
2019-12-29Move suppression of Clang warning missing-braces from makefile to apply toNeil1-0/+6
lexers but not most other files.
2019-11-01Remove noexcept from allocating constructors as may throw on memory exhaustion.Neil2-2/+2
2019-10-16Feature [feature-requests:#1315] Update to Unicode 12.1.Neil1-53/+104
2019-09-30Feature [feature-requests:#1305] Optimize setting up keyword lists in lexers.Zufu Liu3-14/+31
Avoids splitting and sorting the input twice.
2019-04-26Feature [feature-requests:#1238]. Simplify camel case forcing by checking onlyNeil1-0/+4
for upper and lower case characters instead of current word characters. This changes behaviour for words like "_word" -> "_Word" instead of remaining "_word" but that doesn't matter for this feature's intended use which is to allow display of ASCII-only keywords in the user's preferred casing (else/ELSE/Else) for languages with case-insensitive keywords.
2019-04-25Fix bug where changing identifier sets in lexers preserved previous identifiers.Neil1-0/+12
2019-03-29Feature [feature-requests:#1259]. Add SCI_SETCHARACTERCATEGORYOPTIMIZATION APINeil2-0/+48
to optimize speed of character category features.
2019-03-23Add Contains(char) to avoid casts in client code. Remove cast in AddString.Neil1-4/+8
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
Remove inclusion of <cctype> except in lexers as cctype functions often behave poorly and may crash for out of bounds arguments.
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-1/+1
2018-10-18Updated case conversion and character categories to Unicode 11.Neil1-62/+178
Fixed history by moving new items into the pending version.
2018-06-04Use const in lexlib headers.Neil3-9/+9
2018-05-17Use nullptr instead of 0 in headers as this diminishes the number of warnings.Neil2-3/+3
2018-05-16Move implementations into cxx file.Neil2-15/+24
Replace 0 and NULL with nullptr. Update comments.
2018-05-15Replace ELEMENTS with std::size and drop inclusion of StringCopy.h.Neil1-1/+0
2018-05-14Use override for LexerNoExceptions.Neil1-4/+4
2018-05-03Simplify PropSetSimple, avoid casts, use nullptr.Neil3-14/+18
2018-05-03Avoid casts.Neil1-2/+3
2018-04-27Fix comments.Neil1-2/+2
2018-04-22Remove casts between char and unsigned char where possible.Neil3-8/+8
2018-04-21Safety improvements for character code - drop reinterpret_cast, ensure moreNeil1-3/+2
variables are initialized, specify noexcept when safe.
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil2-8/+10
2018-04-14Make method const as it is just a reader.Neil1-1/+1
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson2-4/+4
2018-03-16Remove line-end white space.Neil1-1/+1
2018-03-05Bug [#1999]. Fix hang lexing a Lua label where the range ends before "::".Neil1-0/+5
2018-02-27Use 'const'.Neil1-1/+1
2018-01-28Use std::end when filling arrays as reduces chance of mistake.Neil1-1/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil27-92/+0
interfaces ILexer4 and IDocument.
2017-07-17Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU.Neil Hodgson1-9/+9
2017-07-17Implement style metadata for some languages.Neil1-0/+22
Add some helper methods to SubStyles for finding style metadata of substyles.
2017-06-22Basic implementation helpers for style metadata.Neil8-21/+57
2017-06-22Add style metadata methods with null implementations.Neil4-0/+40
2017-06-22Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for versionNeil6-7/+57
checking in 4.0. Use lvRelease4 ID.
2017-06-22Update IDocument for version 4. Drop IDocumentWithLineEnd interface to just haveNeil2-18/+5
IDocument but with all the methods from IDocumentWithLineEnd. This removes version checking (for now). Use dvRelease4 ID. Drop mask argument to StartStyling.
2017-06-22Add a DefaultLexer class which lexers can subclass if they want reasonableNeil2-0/+159
default implementations of the ILexerWithSubStyles interface methods.
2017-06-22Make all methods override, even pure ones to keep Clang happy.Neil Hodgson1-2/+2
2017-06-22Mark methods implementing interface as "override".Neil1-9/+9
2017-04-21More consistent deletion of standard methods.Neil1-1/+1