"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/include/codegenerator.h" between
highlight-3.48.tar.bz2 and highlight-3.49.tar.bz2

About: highlight converts source code to formatted text with syntax highlighting (for e.g. to HTML, XHTML, RTF, TeX, LaTeX, SVG, BBCode and XML format).

codegenerator.h  (highlight-3.48.tar.bz2):codegenerator.h  (highlight-3.49.tar.bz2)
/*************************************************************************** /***************************************************************************
codegenerator.h - description codegenerator.h - description
------------------- -------------------
begin : Die Jul 9 2002 begin : Die Jul 9 2002
copyright : (C) 2002-2018 by Andre Simon copyright : (C) 2002-2018 by Andre Simon
email : andre.simon1@gmx.de email : a.simon@mailbox.org
***************************************************************************/ ***************************************************************************/
/* /*
This file is part of Highlight. This file is part of Highlight.
Highlight is free software: you can redistribute it and/or modify Highlight is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
skipping to change at line 410 skipping to change at line 410
/** \return Syntaxreader Lua error message */ /** \return Syntaxreader Lua error message */
string getSyntaxLuaError(); string getSyntaxLuaError();
/** \return Syntaxreader description */ /** \return Syntaxreader description */
string getSyntaxDescription(); string getSyntaxDescription();
/** \return Theme description */ /** \return Theme description */
string getThemeDescription(); string getThemeDescription();
/** \return Syntaxreader category description */
string getSyntaxCatDescription();
/** \return Theme category description */
string getThemeCatDescription();
vector<string> getPosTestErrors() { return failedPosTests; } vector<string> getPosTestErrors() { return failedPosTests; }
/** \return Pointer Syntaxreader, intended for debug output */ /** \return Pointer Syntaxreader, intended for debug output */
SyntaxReader* getSyntaxReader() SyntaxReader* getSyntaxReader()
{ {
return currentSyntax; return currentSyntax;
} }
/** set HTML output anchor flag /** set HTML output anchor flag
*/ */
skipping to change at line 887 skipping to change at line 893
bool validateInputStream(); bool validateInputStream();
/** load syntax description of embedded snippet's language /** load syntax description of embedded snippet's language
\param embedLangDefPath path to language definition \param embedLangDefPath path to language definition
\return true if successfull */ \return true if successfull */
bool loadEmbeddedLang(const string&embedLangDefPath); bool loadEmbeddedLang(const string&embedLangDefPath);
/** call user script OnStateChange function if defined to confirm state chan ge /** call user script OnStateChange function if defined to confirm state chan ge
\param newState new state \param newState new state
\param oldState old state \param oldState old state
\param kwClass keyword class ID if newState is KEYWORD
*/ */
State validateState(State newState, State oldState, unsigned int kwClass); State validateState(State newState, State oldState);
unsigned int getCurrentKeywordClassId();
string getParam(const string& arg, const char* op); string getParam(const string& arg, const char* op);
string getParam(const string& arg, const char* op1, const char* op2); string getParam(const string& arg, const char* op1, const char* op2);
bool isOption(const string& arg, const char* op); bool isOption(const string& arg, const char* op);
bool isOption(const string& arg, const char* op1, const char* op2); bool isOption(const string& arg, const char* op1, const char* op2);
bool isParamOption(const string& arg, const char* option); bool isParamOption(const string& arg, const char* option);
bool isParamOption(const string& arg, const char* option1, const char* optio n2); bool isParamOption(const string& arg, const char* option1, const char* optio n2);
/** /**
\param chunk Lua function to be added to the function list \param chunk Lua function to be added to the function list
 End of changes. 4 change blocks. 
3 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)