Skip to content

Commit 3476797

Browse files
committed
Better calltip/autocompletion handling
Hide calltip/autocompletion if a tag has been replaced
1 parent 67cf2af commit 3476797

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

Legacy-v2.1/Src/WebEditUVer.ob2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MODULE WebEditUVer;
22

33
CONST
4-
String* = '2.8.2.3';
4+
String* = '2.8.2.4';
55

66
END WebEditUVer.

Legacy-v2.1/Src/WebEditUVer.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MAINICON ICON "..\..\Logo.ico"
2-
#define WEBEDIT_VERSION_STRING "2.8.2.3\000"
3-
#define WEBEDIT_VERSION_WORDS 2,8,2,3
2+
#define WEBEDIT_VERSION_STRING "2.8.2.4\000"
3+
#define WEBEDIT_VERSION_WORDS 2,8,2,4
44

55
1 VERSIONINFO
66
FILEVERSION WEBEDIT_VERSION_WORDS
@@ -18,7 +18,7 @@ BLOCK "StringFileInfo"
1818
VALUE "LegalCopyright", "� 2008 - 2010 by Alexander Iljin\000"
1919
VALUE "FileDescription", "WebEdit plugin for Notepad++ (Unicode).\000"
2020
VALUE "FileVersion", WEBEDIT_VERSION_STRING
21-
VALUE "ProductVersion", "2.8.2.3\000"
21+
VALUE "ProductVersion", "2.8.2.4\000"
2222
VALUE "ProductName", "WebEdit\000"
2323
VALUE "InternalName", "WebEdit\000"
2424
VALUE "OriginalFilename", "WebEditU.dll\000"

WebEdit/Main.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,11 @@ internal static void ReplaceTag()
332332
}
333333
}
334334

335-
// Hide calltip if shown
336-
SendMessage(currentScint, (uint)SciMsg.SCI_CALLTIPCANCEL);
335+
// Hide calltip/autocompletion if visible
336+
if (scintillaGateway.CallTipActive()) // For the sake of completeness...
337+
SendMessage(currentScint, (uint)SciMsg.SCI_CALLTIPCANCEL);
338+
if (scintillaGateway.AutoCActive()) // && !scintillaGateway.AutoCGetCurrent() <-- Does it make sense to check this?
339+
SendMessage(currentScint, (uint)SciMsg.SCI_AUTOCCANCEL);
337340

338341
} catch (Exception ex) {
339342
scintillaGateway.CallTipShow(position, ex.Message);

WebEdit/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
// You can specify all the values or you can default the Build and Revision Numbers
2828
// by using the '*' as shown below:
2929
// [assembly: AssemblyVersion("1.0.*")]
30-
[assembly: AssemblyVersion("2.8.2.3")]
31-
[assembly: AssemblyFileVersion("2.8.2.3")]
32-
[assembly: AssemblyInformationalVersion("2.8.2.3")]
30+
[assembly: AssemblyVersion("2.8.2.4")]
31+
[assembly: AssemblyFileVersion("2.8.2.4")]
32+
[assembly: AssemblyInformationalVersion("2.8.2.4")]

0 commit comments

Comments
 (0)