Zufu Liu

Results 628 comments of Zufu Liu

The menu "Insert Tabs as Spaces" only effects for current file (currently per-file settings is not retained).

`SaveSettings=0`, `SingleFileInstance=1` and `ReuseWindow=1` needs to be saved, otherwise they have no effect on next launch.

metapath 有这个问题吗?两台显示器的显示缩放都是 100%? 这个问题在Win10 2004 上不能重现,两个显示器的显示缩放不同时工具栏会自动缩放。

Please test latest builds, e.g. artifacts on https://github.com/zufuliu/notepad2/actions/runs/3336635040.

Hi @elfsimulate can you test attached Notepad2.exe inside Command Prompt or PowerShell to gather logs. ```text D:\notepad2\notepad2\build\bin\Release\x64>Notepad2.exe D:\notepad2\notepad2\build\bin\Release\x64> D:\notepad2\notepad2\src\Notepad2.c:519 wWinMain UpdateRenderingParams(1, 1) 00000000006806A8 monitor: 0000000000000000 => 0000000000010001 UpdateRenderingParams(0, 1) 00000000006806A8...

That's strange: 1. monitor change not detected after initialization. 2. `MsgDPIChanged()` is called multiple times with same DPI, however `MsgSize()` is not called (`SetWindowPos(hwndReBar, NULL, 0, 0, LOWORD(lParam), cyReBar, SWP_NOZORDER);`...

Thanks for the testing, committed SetWindowPos change as d40ab2c4d0a8231beb57363ab532e0ecf1c9daeb (artifacts available at https://github.com/zufuliu/notepad2/actions/runs/3369066360).

Instead of set notepad2 as default editor, maybe you can try system integration, see https://github.com/zufuliu/notepad2/wiki/System-Integration.

I updated https://github.com/zufuliu/notepad2/discussions/405#discussioncomment-1785559 to reflect actual INI folder search order in code (in `CheckIniFile()` function). Personally I think install the three bundled INI files (copied from https://github.com/zufuliu/notepad2/tree/main/doc and https://github.com/zufuliu/notepad2/tree/main/metapath/doc folders)...

> What happens if the Notepad2.ini directs Notepad2 to use/save preferences in the user profile but there are no settings files in the user profile? Does Notepad2 create the files...