showInfoMsgWithDelay with number of results
Conflicts: crereader.lua
This commit is contained in:
1 parent
09440f600c
commit
3cd19db601
1 file changed
+2
-1
@@ -500,8 +500,9 @@ static int findText(lua_State *L) {
|
||||
int pos = ranges->get(0)->start.y;
|
||||
//doc->text_view->SetPos(pos); // commented out not to mask lua code which does the same
|
||||
CRLog::debug("# SetPos = %d", pos);
|
||||
lua_pushinteger(L, ranges->length()); // results found
|
||||
lua_pushinteger(L, pos);
|
||||
return 1;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user