19#ifndef CALLTIPPROVIDER_HPP
20#define CALLTIPPROVIDER_HPP
38 CallTip(
const std::string& sDef,
const std::string& sDoc =
"",
size_t s = 0u,
size_t e = 0u)
75 CallTip
addLinebreaks(CallTip _cTip,
size_t maxLineLength = 100u);
This class uses a global Language instance to obtain the language string associated with a distinct c...
CallTip getProcedure(std::string sToken) const
Get the calltip for the selected (global) procedure.
CallTip getOption(std::string sToken) const
Get the calltip for the selected option.
CallTip getConstant(std::string sToken) const
Get the calltip for the selected constant.
CallTipProvider(size_t nMaxLineLength=100u)
CallTip getMethod(std::string sToken) const
Get the calltip for the selected method.
CallTip getFunction(std::string sToken) const
Get the calltip for the selected (built-in) function.
CallTip getCommand(std::string sToken) const
Get the calltip for the selected command.
CallTip getPredef(std::string sToken) const
Get the calltip for the selected predefined symbol.
CallTip FindProcedureDefinition(const std::string &pathname, const std::string &procedurename)
Search the procedure definition in a global file.
CallTip addLinebreaks(CallTip _cTip, size_t maxLineLength)
Adds the necessary linebreaks to the documentation part of the CallTip to fit inside the desired maxi...
This structure contains the data for a single calltip, which might be shown in the editor or the term...
CallTip(const std::string &sDef, const std::string &sDoc="", size_t s=0u, size_t e=0u)
std::string sDocumentation