[geany/geany] 6935af: Fix showing calltips for single character tags
Nick Treleaven
git-noreply at xxxxx
Thu Jul 26 00:02:46 UTC 2012
Branch: refs/heads/document-messages
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Sun, 08 Jan 2012 16:38:45
Commit: 6935af0485122e7092ee6d840658c6017836f713
https://github.com/geany/geany/commit/6935af0485122e7092ee6d840658c6017836f713
Log Message:
-----------
Fix showing calltips for single character tags
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1737,9 +1737,9 @@ static gint find_previous_brace(ScintillaObject *sci, gint pos)
while (pos >= 0 && pos > orig_pos - 300)
{
c = sci_get_char_at(sci, pos);
- pos--;
if (utils_is_opening_brace(c, editor_prefs.brace_match_ltgt))
return pos;
+ pos--;
}
return -1;
}
@@ -1756,8 +1756,8 @@ static gint find_start_bracket(ScintillaObject *sci, gint pos)
if (c == ')') brackets++;
else if (c == '(') brackets--;
- pos--;
if (brackets < 0) return pos; /* found start bracket */
+ pos--;
}
return -1;
}
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list