Added: CGroupHTML::clearUndoRedo() lua function
--HG-- branch : develop
This commit is contained in:
parent
fa16ca8dd9
commit
2607db5b51
2 changed files with 11 additions and 0 deletions
|
@ -270,6 +270,7 @@ namespace NLGUI
|
|||
void setURL(const std::string &url);
|
||||
|
||||
|
||||
int luaClearUndoRedo(CLuaState &ls);
|
||||
int luaBrowse(CLuaState &ls);
|
||||
int luaRefresh(CLuaState &ls);
|
||||
int luaRemoveContent(CLuaState &ls);
|
||||
|
@ -285,6 +286,7 @@ namespace NLGUI
|
|||
REFLECT_EXPORT_START(CGroupHTML, CGroupScrollText)
|
||||
REFLECT_LUA_METHOD("browse", luaBrowse)
|
||||
REFLECT_LUA_METHOD("refresh", luaRefresh)
|
||||
REFLECT_LUA_METHOD("clearUndoRedo", luaClearUndoRedo)
|
||||
REFLECT_LUA_METHOD("removeContent", luaRemoveContent)
|
||||
REFLECT_LUA_METHOD("insertText", luaInsertText)
|
||||
REFLECT_LUA_METHOD("addString", luaAddString)
|
||||
|
|
|
@ -5912,6 +5912,15 @@ namespace NLGUI
|
|||
return true;
|
||||
}
|
||||
|
||||
int CGroupHTML::luaClearUndoRedo(CLuaState &ls)
|
||||
{
|
||||
const char *funcName = "clearUndoRedo";
|
||||
CLuaIHM::checkArgCount(ls, funcName, 0);
|
||||
|
||||
clearUndoRedo();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ***************************************************************************
|
||||
int CGroupHTML::luaBrowse(CLuaState &ls)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue