Fixed missing calltip display when using a space after a symbol name (thanks to Anh Phạm for reporting).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1447 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2007-04-13 16:51:48 +00:00
parent e3aceea275
commit 6e72477338
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-04-13 Enrico Tröger <enrico.troeger@uvena.de>
* src/sci_cb.c: Fixed missing calltip display when using a space after
a symbol name (thanks to Anh Phạm for reporting).
2007-04-13 Nick Treleaven <nick.treleaven@btinternet.com>
* src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:

View File

@ -203,7 +203,7 @@ static void on_char_added(gint idx, SCNotification *nt)
}
case '(':
{ // show calltips
sci_cb_show_calltip(idx, pos);
sci_cb_show_calltip(idx, --pos);
break;
}
case ')':
@ -223,7 +223,7 @@ static void on_char_added(gint idx, SCNotification *nt)
if (sci_get_lexer(sci) == SCLEX_LATEX)
{
auto_close_bracket(sci, pos, nt->ch); // Tex auto-closing
sci_cb_show_calltip(idx, pos);
sci_cb_show_calltip(idx, --pos);
}
break;
}