aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
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
commit89206d94f9095ab9e3c9a8c0e5f3556c2d4b7333 (patch)
treea6dc0fee046ed65719bcb9cd96b2ed8334efb895 /src
parentd6ebb097f16792bb33e9cf094a3907fbca1ecfda (diff)
downloadscintilla-mirror-89206d94f9095ab9e3c9a8c0e5f3556c2d4b7333.tar.gz
Move implementations into cxx file.
Replace 0 and NULL with nullptr. Update comments.
Diffstat (limited to 'src')
-rw-r--r--src/Catalogue.cxx4
-rw-r--r--src/Catalogue.h2
-rw-r--r--src/ExternalLexer.cxx2
-rw-r--r--src/ExternalLexer.h8
4 files changed, 10 insertions, 6 deletions
diff --git a/src/Catalogue.cxx b/src/Catalogue.cxx
index 4da096d81..438fd2ba1 100644
--- a/src/Catalogue.cxx
+++ b/src/Catalogue.cxx
@@ -1,6 +1,8 @@
// Scintilla source code edit control
/** @file Catalogue.cxx
- ** Colourise for particular languages.
+ ** Lexer infrastructure.
+ ** Contains a list of LexerModules which can be searched to find a module appropriate for a
+ ** particular language.
**/
// Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
diff --git a/src/Catalogue.h b/src/Catalogue.h
index b75a59fc8..d8769a896 100644
--- a/src/Catalogue.h
+++ b/src/Catalogue.h
@@ -1,6 +1,8 @@
// Scintilla source code edit control
/** @file Catalogue.h
** Lexer infrastructure.
+ ** Contains a list of LexerModules which can be searched to find a module appropriate for a
+ ** particular language.
**/
// Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
diff --git a/src/ExternalLexer.cxx b/src/ExternalLexer.cxx
index 54bd62939..dd9a7179e 100644
--- a/src/ExternalLexer.cxx
+++ b/src/ExternalLexer.cxx
@@ -1,6 +1,6 @@
// Scintilla source code edit control
/** @file ExternalLexer.cxx
- ** 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.
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);