Zufu Liu

Results 628 comments of Zufu Liu

Can be implemented with `SCI_SHOWLINES` and `SCI_HIDELINES`: https://www.scintilla.org/ScintillaDoc.html#SCI_SHOWLINES ``` SCI_SHOWLINES(line lineStart, line lineEnd) SCI_HIDELINES(line lineStart, line lineEnd) SC_ELEMENT_HIDDEN_LINE : colouralpha SCI_GETLINEVISIBLE(line line) → bool SCI_GETALLLINESVISIBLE → bool ```

> How to execute only the selected text? Don't have this function at present.

> 工具-文本转译 Convert multiple selections at once is not supported.

Only main window works on different screen, resizable dialog only works on origin screen where it's opened.

Currently there is only AutoSave (Settings -> AutoSave Settings): ![image](https://github.com/user-attachments/assets/d44facad-7ada-4da0-86a7-cbe74667b8ec)

Commit bbe02d66976d6d38e980e5cc8c8b12a16a3cc53b optimized HTML highlighting. Word wrap is known to slow for large file.

Scintilla 5.3.4 added multithreaded word wrap (useful for large file with many short lines) but is still not adopted for Notepad4 (needs to figure out when multithreaded is benefit, https://sourceforge.net/p/scintilla/feature-requests/1481/).

> 但它不能完全解决此主题中的问题:在打开自动换行的时候,打开文件之后,立即按Ctrl+End,还是会卡住。 https://github.com/zufuliu/notepad4/blob/41f4fe9f611799d883a1f2019f1af3c931f693d1/scintilla/src/Editor.cxx#L5631-L5637

> 立即按Ctrl+End,还是会卡住。 This can't be solved even with multithreaded word wrap: after caret moved to document end, Scintilla window is redrawn, `WrapLines(WrapScope::wsVisible)` inside `Editor::Paint()` will cause the whole file to...