Zufu Liu

Results 628 comments of Zufu Liu

C has `#include `, other language has C++ like generic type name ``, or HTML/XML ``.

Just turn on "Transform Backslashes" and type `\r\n` or directly select line ending from current file.

The move behavior is same as many other editors. https://github.com/zufuliu/notepad2/blob/26d5a52b9555d6e90227bf8e409e7a897b7278b7/scintilla/win32/ScintillaWin.cxx#L3610-L3632

@mdnava Sorry, but no idea how to implement this. Edit `ACCELERATORS` in Notepad2.rc then build your own version of Notepad2 with any compiler is easy.

Translated by Bing: > When scrolling left or right using the Touchpad, the horizontal scroll bar scrolls in the direction of the touch. This is contrary to the scrolling method...

Hi @leesings, can you attach screen records (e.g. made with https://github.com/NickeManarin/ScreenToGif, as mp4 or gif) for VS Code's scrolling and Notepad2's.

The registry `ScrollDirection` under `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad` is document at https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-tuning-guidelines#scroll-direction

I think the short term solution is just watch releases for this project: ![watch](https://user-images.githubusercontent.com/2289926/191723332-1bfd6e33-bcd6-42ae-8ed0-ec623d4b1eb9.PNG)

You can run `PostWMCommand(hwndEdit, IDM_VIEW_FOLD_xxx)` after file is loaded.

Line continuation is not handled: https://github.com/zufuliu/notepad2/blob/12c61ddcf384c8b45505f42f65c62c6c08fe55f8/scintilla/lexers/LexVB.cxx#L184-L189 https://learn.microsoft.com/en-us/dotnet/visual-basic/reference/language-specification/lexical-grammar#line-continuation ``` LineContinuation : WhiteSpace '_' WhiteSpace* LineTerminator ; ```