Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 14:48:02 Commit: 87c6d0d7aa8dd601a3ebf3c0dbe7e904ab1da4f1 https://github.com/geany/geany-plugins/commit/87c6d0d7aa8dd601a3ebf3c0dbe7e9...
Log Message: ----------- xmlsnippets: Don't mix declarations and code
Modified Paths: -------------- xmlsnippets/src/plugin.c
Modified: xmlsnippets/src/plugin.c 5 files changed, 3 insertions(+), 2 deletions(-) =================================================================== @@ -79,6 +79,9 @@ static gboolean editor_notify_cb(GObject *object, GeanyEditor *editor, if ((style <= SCE_H_XCCOMMENT || highlighting_is_string_style(lexer, style)) && !highlighting_is_comment_style(lexer, style)) { + CompletionInfo c; + InputInfo i; + /* Grab the last 512 characters or so */ min = pos - sizeof(sel); if (min < 0) min = 0; @@ -86,8 +89,6 @@ static gboolean editor_notify_cb(GObject *object, GeanyEditor *editor,
sci_get_text_range(editor->sci, min, pos, sel);
- CompletionInfo c; - InputInfo i; if (get_completion(editor, sel, size, &c, &i)) { /* Remove typed opening tag */
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org