From 9183281921b180428e3cc748c074db9977d1d5e2 Mon Sep 17 00:00:00 2001 From: dail8859 Date: Wed, 22 Jun 2016 19:08:14 -0400 Subject: [PATCH] Skip auto-complete of tag Closes #1999 --- .../src/ScitillaComponent/AutoCompletion.cpp | 14 ++++++++++---- PowerEditor/src/ScitillaComponent/AutoCompletion.h | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp index e1da03b1..89eba93d 100644 --- a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp @@ -368,7 +368,7 @@ bool AutoCompletion::showFunctionComplete() return false; } -void AutoCompletion::getCloseTag(char *closeTag, size_t closeTagSize, size_t caretPos, bool isHTML) +void AutoCompletion::getCloseTag(char *closeTag, size_t closeTagSize, size_t caretPos, LangType language) { char prev = (char)_pEditView->execute(SCI_GETCHARAT, caretPos - 2); char prevprev = (char)_pEditView->execute(SCI_GETCHARAT, caretPos - 3); @@ -407,9 +407,9 @@ void AutoCompletion::getCloseTag(char *closeTag, size_t closeTagSize, size_t car if (strncmp(tagHead, "