aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
AgeCommit message (Collapse)AuthorFilesLines
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
2017-04-20More consistent deletion of standard methods.Neil1-2/+3
2017-04-18Add an assert to avoid a warning from Visual C++ Code Analysis.Neil1-0/+2
2017-04-07Use same parameter names in declarations and definitions.Neil2-6/+6
2017-04-06Added const where possible.Neil6-17/+17
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil9-48/+20
where it may be needed in the future.
2017-03-23The Python lexer recognizes identifiers more accurately when they includeNeil2-0/+152
non-ASCII characters. Calls provided for determining whether characters are in the sets defined for identifiers by the Unicode standard in UAX #31.
2017-03-23Updated case conversion and character categories to Unicode 9.Neil1-110/+515
2017-03-08Fix memory leak.Neil Hodgson1-5/+8
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+8
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-02-02Using better checked static_cast instead of reinterpret_cast for void*.Neil Hodgson1-1/+1
2017-01-22Simplify initialising and reinitialising.Neil1-6/+2
2016-11-05StyleContext no longer needs mask argument.Neil1-1/+1
Remove warning suppression pragma no longer needed for Perl's StyleContext.
2016-10-06Move MakeLowerCase into CharacterSet.h as that is where MakeUpperCase is.Neil4-27/+30
Change the argument and return type of MakeUpperCase to match MakeLowerCase. Move StyleContext::MatchIgnoreCase into StyleContext.cxx as the change of header for MakeLowerCase couldn't be reconciled easily. Add casts as needed.
2016-09-07Add InListAbridged to WordList.oirfeodent2-0/+61
2016-04-21Correct comments.Neil1-2/+2