Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【bug】在输入 \n 转移反斜线 替换时,会出现自动修改输入内容的问题。 #942

Closed
jkqxl opened this issue Dec 18, 2024 · 4 comments

Comments

@jkqxl
Copy link

jkqxl commented Dec 18, 2024

软件版本:Notepad4_HD_zh-Hans_x64_v24.11r5548

图1

Snipaste_2024-12-18_11-17-26

图2

Snipaste_2024-12-18_11-16-41

如上图变化,当使用 转移反斜线,且替换为 有前置空格(半角/全角),在输入 /n 后,鼠标选择其它位置或点击全部替换,内容就会变成图2的 n \,全部替换也会按图2的内容生效。

@jkqxl jkqxl changed the title 【bug】在输入 \n 正则替换时,会出现自动修改输入内容的问题。 【bug】在输入 \n 转移反斜线 替换时,会出现自动修改输入内容的问题。 Dec 18, 2024
@zufuliu
Copy link
Owner

zufuliu commented Dec 18, 2024

I can't reproduce the bug, can attach a screen video (e.g. made with https://github.com/NickeManarin/ScreenToGif)?

@jkqxl
Copy link
Author

jkqxl commented Dec 19, 2024

我无法重现该错误,可以附加屏幕视频吗(例如使用https://github.com/NickeManarin/ScreenToGif制作的)?

重新测试发现,这是由于本人使用的输入法(谷歌拼音输入法3.0)不兼容造成的,当使用该输入法的英文输入模式,不论是正则,还是转移反斜线都会导致上述问题,但奇怪的是,在之前的一些版本里,却未有发现该问题。

太大导致文件无法上传,如果作者想要测试,可以查看这个网页:https://googlepinyin.com/

@zufuliu
Copy link
Owner

zufuliu commented Dec 20, 2024

Following commits in v24.11 changed find & replace behaviors:

Can you test daily builds before, at and after these commits (or all commits except translation updates since v24.09, https://github.com/zufuliu/notepad4/actions?page=7), to narrow down the broken commit?

@jkqxl
Copy link
Author

jkqxl commented Dec 20, 2024

Can you test daily builds before, at and after these commits (or all commits except translation updates since v24.09, https://github.com/zufuliu/notepad4/actions?page=7), to narrow down the broken commit?

我个人很抱歉浪费了作者的一些时间,再次经过测试发现是由于 谷歌拼音输入法3.0 在 英文输入模式下 英文助手误开启 而导致的问题,目前仅发现它会在 替换文本的窗口 出现文字错误移动的问题,直接输入英文则不会。测试发现之前的版本也是一样的情况。

Snipaste_2024-12-20_19-52-24

这个输入法由于低内存、无广告等原因是在是好用,但显然由于长久未更新,它的 英文助手在开启模式下,不可避免的有兼容问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants