Set cursor for LaTeX at auto closing of environment direct into area
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3593 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
c816cec79f
commit
a75ed4d6e2
@ -1,3 +1,9 @@
|
||||
2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
|
||||
|
||||
* src/editor.c: Set cursor for LaTeX at auto closing of environment
|
||||
direct into area.
|
||||
|
||||
|
||||
2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/utils.h:
|
||||
|
@ -1733,7 +1733,7 @@ void editor_auto_latex(GeanyEditor *editor, gint pos)
|
||||
construct = g_strdup_printf("%s\\end%s{%s}", eol, full_cmd, env);
|
||||
|
||||
SSM(sci, SCI_INSERTTEXT, pos, (sptr_t) construct);
|
||||
sci_goto_pos(sci, pos + 1, TRUE);
|
||||
sci_goto_pos(sci,pos, TRUE);
|
||||
g_free(construct);
|
||||
g_free(eol);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user