diff options
| -rw-r--r-- | doc/ScintillaHistory.html | 12 | ||||
| -rw-r--r-- | src/ExternalLexer.h | 5 | 
2 files changed, 15 insertions, 2 deletions
| diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index a9c7294e4..e49b4a96a 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -452,6 +452,18 @@        </li>      </ul>      <h3> +       <a href="http://prdownloads.sourceforge.net/scintilla/scite339.zip?download">Release 3.3.9</a> +    </h3> +    <ul> +	<li> +	Released 28 January 2014. +	</li> +	<li> +	Fix 3.3.8 bug where external lexers became inaccessible. +	<a href="http://sourceforge.net/p/scintilla/bugs/1574/">Bug #1574</a>. +	</li> +    </ul> +    <h3>         <a href="http://prdownloads.sourceforge.net/scintilla/scite338.zip?download">Release 3.3.8</a>      </h3>      <ul> diff --git a/src/ExternalLexer.h b/src/ExternalLexer.h index 3f66aeb66..a85213e31 100644 --- a/src/ExternalLexer.h +++ b/src/ExternalLexer.h @@ -27,12 +27,13 @@ typedef LexerFactoryFunction(EXT_LEXER_DECL *GetLexerFactoryFunction)(unsigned i  class ExternalLexerModule : public LexerModule {  protected:  	GetLexerFactoryFunction fneFactory; +	std::string name;  public:  	ExternalLexerModule(int language_, LexerFunction fnLexer_,  		const char *languageName_=0, LexerFunction fnFolder_=0) :  		LexerModule(language_, fnLexer_, 0, fnFolder_), -		fneFactory(0) { -		languageName = languageName_; +		fneFactory(0), name(languageName_){ +		languageName = name.c_str();  	}  	virtual void SetExternal(GetLexerFactoryFunction fFactory, int index);  }; | 
