[geany/geany] f2a93d: Don't autocomplete XML entities when outside of XML style range
Nick Treleaven
git-noreply at xxxxx
Thu Jul 26 00:04:01 UTC 2012
Branch: refs/heads/document-messages
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Mon, 16 Apr 2012 10:56:25
Commit: f2a93d379010af6d584addf867c9c22ab86d8a00
https://github.com/geany/geany/commit/f2a93d379010af6d584addf867c9c22ab86d8a00
Log Message:
-----------
Don't autocomplete XML entities when outside of XML style range
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -2040,7 +2040,7 @@ static gboolean autocomplete_check_html(GeanyEditor *editor, gint style, gint po
* (everything after SCE_HJ_START is for embedded scripting languages) */
if (ft->id == GEANY_FILETYPES_HTML && style < SCE_HJ_START)
try = TRUE;
- else if (sci_get_lexer(editor->sci) == SCLEX_XML)
+ else if (sci_get_lexer(editor->sci) == SCLEX_XML && style < SCE_HJ_START)
try = TRUE;
else if (ft->id == GEANY_FILETYPES_PHP)
{
@@ 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