Zufu Liu

Results 628 comments of Zufu Liu

file has been moved into https://github.com/zufuliu/notepad4/tree/main/locale/fr folder.

The purple color come from https://sourceforge.net/p/scintilla/code/ci/e110bf1a93eb1af46621bc6cfb4bf91db1056e9b/ https://github.com/zufuliu/notepad2/blob/3d0b8f81378f2f7ad51ede47f2101cba261895af/scintilla/src/EditView.cxx#L1926-L1931 So there are bugs somewhere (see https://sourceforge.net/p/scintilla/bugs/2349/?page=1).

The purple background is disabled in 1f7d69285216543356d0cb620852fa25ba2d248d, you can download the latest build from https://github.com/zufuliu/notepad2/actions to make life easy. It's better if there is a reproducer (and steps to reproduce...

The slow is not replaceable on my system. you can configure Notepad2 to use Direct2D or different wrap mode (default "Automatic word wrap" is the slowest one) to speedup word...

> The slow is not replaceable on my system. Reproduced when using "2nd Text File", works fine with "Text File" scheme.

The slow is caused by wrap all lines in one go: https://github.com/zufuliu/notepad2/blob/95a5f62a62933e4759daa1cb9eb4f9ce6ef3d8bf/scintilla/src/Editor.cxx#L5542-L5548 comment out `SciCall_EnsureVisible(iDocTopLine);` fixed the slow: https://github.com/zufuliu/notepad2/blob/95a5f62a62933e4759daa1cb9eb4f9ce6ef3d8bf/src/Notepad2.c#L4015-L4023

Fixed by 763569c9ee2470017d0e13db89d0e7f4d50a0d49. however we should really implement parallel `WrapBlock()` (Scintilla 5.3.4) to speedup wrap all lines. https://github.com/zufuliu/notepad2/blob/95a5f62a62933e4759daa1cb9eb4f9ce6ef3d8bf/scintilla/src/Editor.cxx#L1494-L1496

Marked as breaking change: after toggle word wrap, caret maybe invisible with the change.

Keyword index 14 is in use (see stlD.c and stlCPP.c), only index 15 can be used for snippets (which is the intent).

Maybe you will add snipets? Or try them? ![01](https://user-images.githubusercontent.com/18176799/222981583-d1cfa364-9707-4d6a-a1e0-11499cfa23a7.png) ![image](https://user-images.githubusercontent.com/18176799/222981591-0866b910-0baa-4f36-8177-57fd3795b251.png) _Originally posted by @Sergy2001 in https://github.com/zufuliu/notepad2/issues/629#issuecomment-1455181778_