Skip to content

fix(editor): change find/replace default to case-sensitive#433

Merged
pengfeixx merged 1 commit intolinuxdeepin:masterfrom
pengfeixx:fix-282071
Apr 13, 2026
Merged

fix(editor): change find/replace default to case-sensitive#433
pengfeixx merged 1 commit intolinuxdeepin:masterfrom
pengfeixx:fix-282071

Conversation

@pengfeixx
Copy link
Copy Markdown
Contributor

Change all CaseSensitivity default parameters from CaseInsensitive to CaseSensitive in replace and highlight methods to ensure exact matches.

将查找替换相关方法的 CaseSensitivity 默认参数从不区分大小写改为
区分大小写,确保替换操作和高亮定位行为一致。

Log: 修复替换操作未区分大小写的问题
PMS: BUG-282071
Influence: 查找和替换功能现在默认区分大小写,输入大写A只匹配大写A,不再误匹配小写a。

Copy link
Copy Markdown

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @pengfeixx, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, pengfeixx

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Change all CaseSensitivity default parameters from CaseInsensitive to
CaseSensitive in replace and highlight methods to ensure exact matches.

将查找替换相关方法的 CaseSensitivity 默认参数从不区分大小写改为
区分大小写,确保替换操作和高亮定位行为一致。

Log: 修复替换操作未区分大小写的问题
PMS: BUG-282071
Influence: 查找和替换功能现在默认区分大小写,输入大写A只匹配大写A,不再误匹配小写a。
@pengfeixx pengfeixx merged commit d6017c5 into linuxdeepin:master Apr 13, 2026
19 of 22 checks passed
@pengfeixx pengfeixx deleted the fix-282071 branch April 13, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants