[GH-ISSUE #3925] 自动义关键词高亮有点问题 #2711

Open
opened 2026-02-27 00:53:58 +03:00 by kerem · 0 comments
Owner

Originally created by @etanman on GitHub (Apr 27, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3925

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-xx.xx.xx-win-x64-installer.exe

Platform detail (平台详情)

windows 7/8/10/11

What steps will reproduce the bug?(重新问题的详细步骤)

如下图,前四个起作用,从第五个开始后面的都不管用了。另外能不能像其他软件那样,将操作系统和网络设设备中将常用的关键再多内置一些,像ip地址、error、warnning、failed之类的,省得用户还得自己自定义

Image

What should have happened?(期望的结果)

大体上下面这样的效果,另外我定义了up高亮,electerm会将CGroup中up也高亮,我定义的IP高亮[\d.]{7,},它会将所有长串数字也高亮。

Image
如果同一行出现两次自定义的高亮,那第二次的高亮也会失败

Image

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @etanman on GitHub (Apr 27, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3925 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-xx.xx.xx-win-x64-installer.exe ### Platform detail (平台详情) windows 7/8/10/11 ### What steps will reproduce the bug?(重新问题的详细步骤) 如下图,前四个起作用,从第五个开始后面的都不管用了。另外能不能像其他软件那样,将操作系统和网络设设备中将常用的关键再多内置一些,像ip地址、error、warnning、failed之类的,省得用户还得自己自定义 ![Image](https://github.com/user-attachments/assets/4eb6c97b-9fa3-4332-bbbf-5a6d2f2ec845) ### What should have happened?(期望的结果) 大体上下面这样的效果,另外我定义了up高亮,electerm会将CGroup中up也高亮,我定义的IP高亮[\d\.]{7,},它会将所有长串数字也高亮。 ![Image](https://github.com/user-attachments/assets/5eb6dc9b-fbb0-4a83-bfa8-4abd79964d36) 如果同一行出现两次自定义的高亮,那第二次的高亮也会失败 ![Image](https://github.com/user-attachments/assets/b14e96d5-2c0f-47f9-a009-e8df29957868) ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2711
No description provided.