Zufu Liu
Zufu Liu
There is no use of `N2Root` and modify `PATH` isn't good. When integrating 3rd tools, we can find their executable from 1. `GetProgramRealPath()`, same directory as Notepad2.exe. 2. `GetModuleFileName()`, same...
delayed this until there is real usage for the changes.
Some TODOs: * [x] Ensure all existing use of regex still works after change to Boost. * [x] Update regex help string, add common syntax like `a|b`, `{n,m}`, etc. based...
following is some performance test results (match count and time in millisecond) for attached JSON file (produced by expand.py in the zip for Visual Studio 2022 instalation catalog.json) with commit...
> 今天发布的版本有没有包含Boost regex Just download latest builds from boost regex branch, e.g. https://github.com/zufuliu/notepad2/actions/runs/7517811166
Win32 build with `boost::regex` (depends on `SleepConditionVariableSRW()` and `WakeAllConditionVariable()`) or `std::regex` (depends on `InitializeCriticalSectionEx()`) doesn't run on XP.
Seems not supported (requires ICU). https://www.boost.org/doc/libs/1_85_0/libs/regex/doc/html/boost_regex/unicode.html https://www.boost.org/doc/libs/1_85_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html#boost_regex.syntax.perl_syntax.character_properties
> Win32 build with `boost::regex` (depends on `SleepConditionVariableSRW()` and `WakeAllConditionVariable()`) or `std::regex` (depends on `InitializeCriticalSectionEx()`) doesn't run on XP. This can be "fixed" by disabling thread-safe local static initialization with...
> libICU编译出来至少20-30M吧,代价太大。 Maybe dynamic load ICU (which is available on Win10+), https://learn.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-
`boost_regex` branch is merged into main (still not set as default engine due to the slower speed), here are new strings (added by 98f9eb26e38fd6ebb0446a4adf22fdccb57a69c4 and 59366c691dc6a1ebd5b1772748517bccd159f0e3) need to be translated,...