notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

/m 命令行优化建议

Open cvlot opened this issue 1 year ago • 7 comments

@zufuliu 使用命令行 Notepad4.exe /m [user] User.ini

匹配项每次都滚动在倒数第6行显示, 很严重影响浏览数据 建议在Notepad4_dark.ini 添加个设置默认滚动到第5行显示, 最好可以自定义设置滚动到指定行显示

image

cvlot avatar Sep 26 '24 22:09 cvlot

我覺的在 高度/2 比較好, 能看上 也能看下.

UI 版 建議 也改成 高度/2 比較好.

peter8777555 avatar Sep 27 '24 02:09 peter8777555

最好可以自定义设置滚动到指定行显示

Use /g line,column

zufuliu avatar Sep 27 '24 10:09 zufuliu

/g 这个命令无法替代 /m, 我的需求建议是匹配项每次都在指定行显示

cvlot avatar Sep 27 '24 14:09 cvlot

@zufuliu 可以优化一下这个命令行问题吗 /m

cvlot avatar Oct 13 '24 03:10 cvlot

https://github.com/zufuliu/notepad4/blob/8d1ce642f27766e2ea20c14c897bb192c87f38dc/src/Edit.cpp#L4337-L4344

zufuliu avatar Oct 13 '24 03:10 zufuliu

@zufuliu 在 .ini配置文件, 加一条配置吧, 可以自定义指定行显示

cvlot avatar Oct 13 '24 04:10 cvlot

在 .ini配置文件, 加一条配置吧, 可以自定义指定行显示

The matched line is centered in editor window after 08020fe61f636dcbfbed5eb94f384ab8ad32e911, so no need further changes.

zufuliu avatar Oct 13 '24 14:10 zufuliu