aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ExternalLexer.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-16 16:57:48 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-16 16:57:48 +1000
commitc24110790c646f40c307c88656c3eca7ed134e01 (patch)
tree6c080822ab9cf08e25541fa7ef07d99913b3a481 /src/ExternalLexer.h
parent27f9d447ab961b5ec314a290622afdb12ab5f0e2 (diff)
downloadscintilla-mirror-c24110790c646f40c307c88656c3eca7ed134e01.tar.gz
Backport: Move implementations into cxx file.
Replace 0 and NULL with nullptr. Update comments. Backport of changeset 6955:440e02c389df.
Diffstat (limited to 'src/ExternalLexer.h')
-rw-r--r--src/ExternalLexer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ExternalLexer.h b/src/ExternalLexer.h
index 1373c911d..ea7f20958 100644
--- a/src/ExternalLexer.h
+++ b/src/ExternalLexer.h
@@ -1,6 +1,6 @@
// Scintilla source code edit control
/** @file ExternalLexer.h
- ** Support external lexers in DLLs.
+ ** Support external lexers in DLLs or shared libraries.
**/
// Copyright 2001 Simon Steele <ss@pnotepad.org>, portions copyright Neil Hodgson.
// The License.txt file describes the conditions under which this software may be distributed.
@@ -28,9 +28,9 @@ protected:
std::string name;
public:
ExternalLexerModule(int language_, LexerFunction fnLexer_,
- const char *languageName_=0, LexerFunction fnFolder_=0) :
- LexerModule(language_, fnLexer_, 0, fnFolder_),
- fneFactory(0), name(languageName_){
+ const char *languageName_=nullptr, LexerFunction fnFolder_=nullptr) :
+ LexerModule(language_, fnLexer_, nullptr, fnFolder_),
+ fneFactory(nullptr), name(languageName_){
languageName = name.c_str();
}
virtual void SetExternal(GetLexerFactoryFunction fFactory, int index);