Skip to content

Commit

Permalink
Release v2.0.4.0
Browse files Browse the repository at this point in the history
- Fixed #74: Intellisense not working as expected.
  Added workaround for the ricent Scintilla changes around SciMsg.SCN_CHARADDED notifications.
- The default of `AutoSelectFirstSuggestion` is changed to true. To make it consistent with VS. It can always be changed in the config file.
  • Loading branch information
oleg-shilo committed Feb 10, 2024
1 parent 6f34fe6 commit 84ab449
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
6 changes: 3 additions & 3 deletions bin/package.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ copy CSScriptNpp.x64.dll CSScriptNpp.dll

cd ..

cscs sha256 CSScriptNpp.x64.zip > CSScriptNpp.x64.sha256.txt
cscs sha256 CSScriptNpp.x86.zip > CSScriptNpp.x86.sha256.txt
css sha256 CSScriptNpp.x64.zip > CSScriptNpp.x64.sha256.txt
css sha256 CSScriptNpp.x86.zip > CSScriptNpp.x86.sha256.txt
rem cscs /l md5 > CSScriptNpp.x64.M5.txt

rem rem cscs /l setup.CPU.cs
cscs /l package
css /l package

echo Cleanup...
echo(
Expand Down
12 changes: 6 additions & 6 deletions bin/package.readme
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ https://tooomm.github.io/github-release-stats/?username=oleg-shilo&repository=cs
---------------------------------
6. Update N++ Plugin Manager
---------------------
certUtil -hashfile .\CSScriptNpp\CSScriptNpp.dll MD5
---------------------
certUtil -hashfile .\CSScriptNpp\CSScriptNpp.dll MD5
---------------------

- TortoiceGI steps (alternative):
Pull into <>\nppPluginList\src from https://github.com/notepad-plus-plus/nppPluginList
git.exe pull --progress -v --no-rebase "https://github.com/notepad-plus-plus/nppPluginList" master
- TortoiceGIT steps (alternative):
Pull into <>\nppPluginList\src from https://github.com/notepad-plus-plus/nppPluginList
git.exe pull --progress -v --no-rebase "https://github.com/notepad-plus-plus/nppPluginList" master

!!!!! iserting 'pull -Xtheirs` ensures that local changes are not merged but overwritten by the remote master
!!!!! iserting 'pull -Xtheirs` ensures that local changes are not merged but overwritten by the remote master

- Update nppPluginList\src\pl.x64.json
- Update nppPluginList\src\pl.x86.json
Expand Down
2 changes: 1 addition & 1 deletion src/CSScriptIntellisense/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CS-Script")]
[assembly: AssemblyProduct("CS-Script Intellisense for Notepad++")]
[assembly: AssemblyCopyright("Copyright © Oleg Shilo 2014-2022")]
[assembly: AssemblyCopyright("Copyright © Oleg Shilo 2014-2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyDescription("'CS-Script Intellisense' is a real C# intellisense solution based on CS-Script and .NET. \r\n" +
Expand Down
6 changes: 4 additions & 2 deletions src/CSScriptNpp/Interop/UnmanagedExports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ public void beNotified(IntPtr notifyCode)
{
if (nc.character == 0)
{
// There is a defect either in Scintilla or in Npp that prevents correct SciMsg.SCN_CHARADDED
// notification, which leads to `nc.character` being set to zero. Detected in v8.6.2 Npp.
// There is a defect either in Scintilla, Npp ot Npp interop, which prevents correct
// SciMsg.SCN_CHARADDED notification. This leads to `nc.character` being set to zero.
// Detected in v8.6.2 Npp.
//
// So extract the character from side of the caret.
// This is only a work around as any direct solution is problematic since it is a Scintilla
// change in behavior.
Expand Down
6 changes: 3 additions & 3 deletions src/CSScriptNpp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Oleg Shilo")]
[assembly: AssemblyProduct("CS-Script for Notepad++")]
[assembly: AssemblyCopyright("Copyright © Oleg Shilo 2014-2022")]
[assembly: AssemblyCopyright("Copyright © Oleg Shilo 2014-2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyDescription("Notepad++ plugin for CS-Script integration. \r\n" +
Expand All @@ -32,5 +32,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.0.3.0")]
[assembly: AssemblyFileVersion("2.0.3.0")]
[assembly: AssemblyVersion("2.0.4.0")]
[assembly: AssemblyFileVersion("2.0.4.0")]
9 changes: 4 additions & 5 deletions src/CSScriptNpp/Resources/WhatsNew.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Release v2.0.3.0
Release v2.0.4.0
----
- Npp compatibility checking (Issue #64) is disabled in favor of hard-codded compatibility for new Scintille.TextRange API.
The checking algorithm became fragile in the latest releases of NPP when the editor restarts itself in Admin mode.
- Updated CS-Script embedded engine to v4.6.4
- Updated CS-Script.Syntaxer embedded executable to v3.1.2
- Fixed #74: Intellisense not working as expected.
Added workaround for the ricent Scintilla changes around SciMsg.SCN_CHARADDED notifications.
- The default of `AutoSelectFirstSuggestion` is changed to true. To make it consistent with VS. It can always be changed in the config file.

0 comments on commit 84ab449

Please sign in to comment.