aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
AgeCommit message (Collapse)AuthorFilesLines
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
2013-07-21Normalising order of language headers.Neil8-8/+8
2013-07-21Standardising header guards and namespaces.Neil1-2/+2
2013-07-06Remove functions that are not used. Fix comment.Neil1-25/+1
2013-07-03Minor consting. Documentation added.Neil1-2/+13
2013-07-01Fixed namespace.nyamatongwe1-2/+2
2013-07-01Added CharacterCategory.Neil2-0/+3323
2013-06-29Bug: [#1483]. Split GetRelativePosition into 2 calls one for moving between ↵Neil2-26/+20
character positions and the other for retrieving a character and width.
2013-06-27Bug: [#1483]. Adding StyleContext::GetRelativeCharacter for ↵nyamatongwe2-56/+74
character-oriented access. Implemented using new method IDocumentWithLineEnd::GetRelativePosition.
2013-06-18Method added to help lexers working with byte positions.nyamatongwe1-0/+6
Related to bug [#1483].
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe5-12/+12