summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-12-09 19:03:11 +0100
committerSlávek Banko <[email protected]>2020-12-09 19:03:28 +0100
commitefc7c849c6eaad2bd9d9192c8865d2954f0ccbac (patch)
tree5579ecec63a2189cb2591b654c0e677d02ca9820 /kate
parentcda1b11dfbefa8d80baa8a8a25487c3a6cc83639 (diff)
downloadtdelibs-efc7c849c6eaad2bd9d9192c8865d2954f0ccbac.tar.gz
tdelibs-efc7c849c6eaad2bd9d9192c8865d2954f0ccbac.zip
Fix function name in LUA indentation script error message.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 6f0a5983467358a325740c689c1fd546c3752b52)
Diffstat (limited to 'kate')
-rw-r--r--kate/part/kateluaindentscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/kateluaindentscript.cpp b/kate/part/kateluaindentscript.cpp
index a5361f662..5fd486002 100644
--- a/kate/part/kateluaindentscript.cpp
+++ b/kate/part/kateluaindentscript.cpp
@@ -153,7 +153,7 @@ static int katelua_document_insertText(lua_State *L) {
lua_error(L);
}
if ((!lua_isnumber(L,1)) || (!lua_isnumber(L,2)) ||(!lua_isstring(L,3)) ) {
- lua_pushstring(L,i18n("document.removeText:Three parameters needed (line,col,text) (number,number,string)").utf8().data());
+ lua_pushstring(L,i18n("document.insertText:Three parameters needed (line,col,text) (number,number,string)").utf8().data());
lua_error(L);
}
lua_pushboolean(L,katelua_doc->insertText((uint)lua_tonumber(L,1),(uint)lua_tonumber(L,2),TQString::fromUtf8(lua_tostring(L,3))));