aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
AgeCommit message (Collapse)AuthorFilesLines
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
2016-04-21Correct comment.Neil1-2/+2
2015-07-29Change lexlib to use Sci_Position and Sci_PositionU to prepare for large fileNeil7-73/+73
support.
2015-07-25Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, andNeil4-8/+8
comment recognizers to allow for future implementation of 64-bit positions.
2015-07-20Use Sci_Position when required to implement interfaces.Neil6-18/+18
2015-03-28Avoid Coverity warnings for case that should never fail.Neil1-1/+2
2014-12-12Prevent some static analyzer warnings.Neil1-0/+2
2014-12-07Prevent some static analyzer warnings.Neil1-1/+3
2014-12-05Prevent some static analyzer warnings.Neil1-0/+1
2014-07-24Feature [feature-requests:#1059]. Disable -Wshadow warnings for lexers.Neil1-0/+5
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-1/+1
warnings for lexers since they may be maintained by others.
2014-06-22Typo.Neil1-1/+1
2014-05-24Header include statements are now in a standardised order with that orderNeil8-8/+8
defined in scripts/HeaderOrder.txt.
2014-05-24Removing style byte indicators.Neil4-35/+10
2014-04-29Stop disabling warnings where no longer needed.Neil2-6/+1
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson3-2/+7
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil3-3/+37
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil5-5/+5
2013-12-15Format normalization - whitespace and braces made consistent.Neil6-8/+8
Parameter names added to method declarations.
2013-10-26Avoid invalidating the buffered text when flushing styles.Neil1-1/+0
2013-09-10Cast away char subscripts to avoid warnings from clang.Unknown1-6/+6
2013-09-10Fix variable shadowing issues.nyamatongwe1-2/+2
2013-09-06Be more explicit about the empty case to avoid warnings from Visual C++ ↵Neil1-13/+15
analyzer.
2013-09-06Bug [#1521]. Allow tab, cariage return and new line separators for ↵Neil1-3/+5
SCI_SETIDENTIFIERS. Treat multiple separators as a single separator.
2013-09-03Added GetStyleFromSubStyle.Neil1-2/+15
Tests for this and other sub styles methods.
2013-07-25Minor changes to avoid warnings from Coverity.Neil1-1/+1