Zufu Liu

Results 628 comments of Zufu Liu

Lines are wrapped when editor is idle (250ms a time), Ctrl + End force whole line be wrapped (UI may freeze), go to specific column force the target position +...

It should display the code folding ellipsis at line end (similar to VSCode) when the line is not whole wrapped. ![image](https://github.com/zufuliu/notepad2/assets/2289926/1aed2c32-41b8-4f73-8c49-704c532e5b95) https://github.com/zufuliu/notepad2/blob/065c63a0c948bcf69278a8f235ffc9583000e2f1/scintilla/src/EditView.cxx#L1322-L1330

Hi @meteorquake, can you test latest builds from `issue-782` branch (e.g. https://github.com/zufuliu/notepad2/actions/runs/8494534394)?

deleted `issue-782` branch, call `Redraw()` has no effect due to `redrawPendingText` is `true`, see https://sourceforge.net/p/scintilla/bugs/2436/.

The limit `MRU_MAXITEMS` can be increased to 64. https://github.com/zufuliu/notepad4/blob/ac3dac21f972349edd8b2867586b9235b29555b7/src/Helpers.h#L782-L793 https://github.com/zufuliu/notepad4/blob/ac3dac21f972349edd8b2867586b9235b29555b7/src/Helpers.cpp#L2514-L2526

> How about making the limit user configurable? Larger than 64 will make `// find first zero bit in used` implementation much complex than a single `index = np2_ctz64(~used); `

Things maybe simple than I thought: limit quick access drop-down menu to 32 (only list most recent 32 files), then no need to change the `np2_ctz()` bitmap cache code. ![image](https://github.com/user-attachments/assets/65dc358f-7177-430e-903f-823fae364c10)...

Implemented by b1b1f9523febc4398c4969bab1ce416e522de570, the default (and minimum) is still 32, but can be changed on Recent File dialog. Change the value only has effect on next run (after close all...

The OK button does not affect this setting, it's grey due to no file is selected.

> why should any file(s) be selected for the OK button to be enabled? After click OK, the selected file will be open in current editor window.