84 std::string
constructString(
const std::vector<std::string>& vVector)
const;
85 std::vector<std::string>
splitString(std::string sString);
86 std::vector<SyntaxBlockDefinition>
splitDefs(std::string sDefString);
87 bool matchItem(
const std::vector<std::string>& vVector,
const std::string& sString);
110 NumeReSyntax(
const std::string& _sPath,
const std::vector<std::string>& vPlugins);
112 void loadSyntax(
const std::string& _sPath =
"");
113 void addPlugins(
const std::vector<std::string>& vPlugins);
142 std::string
getAutoCompList(std::string sFirstChars,
bool useSmartSense =
false);
146 std::string
getProcAutoCompList(std::string sFirstChars, std::string sBaseNameSpace, std::string sSelectedNameSpace);
This class contains all needed keywords to highlight their occurences correspondingly....
std::map< std::string, int > mAutoCompListCPP
void addPlugins(const std::vector< std::string > &vPlugins)
Add the plugin definitions to the command strings. Will reload the standard settings in advance to re...
std::vector< std::string > vProcedureTree
std::string getNPRCCommands() const
std::string getConstants() const
std::string sSingleOperators
bool matchItem(const std::vector< std::string > &vVector, const std::string &sString)
This function searches for a match of the passed string in the passed vector.
void loadSyntax(const std::string &_sPath="")
Member function for loading the syntax element definitions.
std::vector< std::string > vCppFunctions
void setProcedureTree(const std::vector< std::string > &vTree)
Set the procedure tree (used for autocompleting).
std::vector< SyntaxBlockDefinition > vBlockDefs
std::string getAutoCompListCPP(std::string sFirstChars)
The same as above but specialized for C++ Commands.
std::vector< SyntaxBlockDefinition > splitDefs(std::string sDefString)
Converts a block def string into actual syntax block definitions.
std::vector< std::string > splitString(std::string sString)
This function splits the passed string up into single string tokens.
std::string highlightLine(const std::string &sCommandLine)
This function applies the highlighting colors to the command line (only used in the terminal).
std::string getOperators() const
std::vector< std::string > vOptions
std::vector< std::string > vMethods
std::string getMethods() const
std::string getDocKeyWords() const
std::vector< std::string > vFunctions
std::vector< std::string > vOperators
std::string getAutoCompListMATLAB(std::string sFirstChars)
The same as above but specialized for MATLAB commands.
std::vector< std::string > vDocKeyWords
std::string getNameSpaceAutoCompList(std::string sFirstChars)
This function returns the autocompletion list for the namespaces.
NumeReSyntax()
Default constructor.
std::vector< std::string > vConstants
std::string getCommands() const
std::vector< std::string > vNSCRCommands
std::map< std::string, std::pair< std::string, int > > mAutoCompList
std::string getCpp() const
std::string getAutoCompListTeX(std::string sFirstChars)
The same as above but specialized for LaTeX Commands.
std::vector< std::string > vMethodsArgs
std::string getBlockDefs() const
Returns all block definitions as a folding string for the lexers.
std::string constructString(const std::vector< std::string > &vVector) const
This member function concatenates the passed vector elements to a whitespace- separated single string...
std::string getSpecial() const
std::string getAutoCompList(std::string sFirstChars, bool useSmartSense=false)
This function returns the autocompletion list for the editor.
std::string getMatlab() const
std::vector< SyntaxBlockDefinition > getFullBlockDefs() const
std::map< std::string, int > mAutoCompListTeX
std::string getCppFunctions() const
std::vector< std::string > vMatlabKeyWords
std::string highlightError(const std::string &sCommandLine)
Highlight an error message. We simply use the color of the operators (which is red as default).
std::vector< std::string > vMatlabFunctions
std::vector< std::string > vTeXKeyWords
std::vector< std::string > vSpecialValues
std::string getMatlabFunctions() const
std::string highlightWarning(const std::string &sCommandLine)
Highlight a warning message. We simply use the color of numbers (which is orange as default).
std::string getProcAutoCompList(std::string sFirstChars, std::string sBaseNameSpace, std::string sSelectedNameSpace)
This function will return the autocompletion list for the procedures based upon the provided procedur...
std::vector< std::string > vCppKeyWords
std::string getFunctions() const
std::vector< std::string > vNPRCCommands
std::map< std::string, int > mAutoCompListMATLAB
std::string getOptions() const
A simple structure to define a syntax block for folding, etc.