SF.net SVN: geany:[4316] trunk/src/editor.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Oct 14 14:13:25 UTC 2009
Revision: 4316
http://geany.svn.sourceforge.net/geany/?rev=4316&view=rev
Author: ntrel
Date: 2009-10-14 14:13:24 +0000 (Wed, 14 Oct 2009)
Log Message:
-----------
Use sci_insert_text() instead of SSM().
Modified Paths:
--------------
trunk/src/editor.c
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2009-10-14 14:07:28 UTC (rev 4315)
+++ trunk/src/editor.c 2009-10-14 14:13:24 UTC (rev 4316)
@@ -520,7 +520,7 @@
sci_set_selection_start(calltip.sci, cri->pos);
sci_set_selection_end(calltip.sci, pos);
sci_replace_sel(calltip.sci, ""); /* clear root of word */
- SSM(calltip.sci, SCI_INSERTTEXT, cri->pos, (sptr_t) cri->text);
+ sci_insert_text(calltip.sci, cri->pos, cri->text);
sci_goto_pos(calltip.sci, cri->pos + strlen(cri->text), FALSE);
}
}
@@ -1993,7 +1993,7 @@
construct = g_strdup_printf("%s\\end%s{%s}", eol, full_cmd, env);
- SSM(sci, SCI_INSERTTEXT, pos, (sptr_t) construct);
+ sci_insert_text(sci, pos, construct);
sci_goto_pos(sci, pos, TRUE);
g_free(construct);
g_free(eol);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list