deepin-editor icon indicating copy to clipboard operation
deepin-editor copied to clipboard

feat: add search status label on findbar and replacebar

Open Fozei opened this issue 1 year ago • 47 comments

desc: 在查找和替换组件上,增加指示当前选中是第几个和总共有多少个查找结果的标签

Fozei avatar May 06 '24 04:05 Fozei

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Fozei

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

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

deepin-ci-robot avatar May 06 '24 04:05 deepin-ci-robot

Hi @Fozei. Thanks for your PR.

I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

deepin-ci-robot avatar May 06 '24 04:05 deepin-ci-robot

很好的提交!不过对于大文本下使用遍历的方式有待商榷,有较明显的性能问题。

rb-union avatar Jul 03 '24 10:07 rb-union

TAG Bot

New tag: 6.0.18 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #282

deepin-bot[bot] avatar Jul 04 '24 01:07 deepin-bot[bot]

@rb-union Thank you for your reply!确实是这样,我在编码时也考虑到了这一层,但是受制于QT组件本身的限制和个人水平,暂时没有想到更好的办法。在编码时,我甚至参考了VS Code的源码,发现它在至多寻找到19999个出现次数时,就停止再往下查找了。我个人认为,目前我们的编辑器,在加载大文本时,也是有比较明显的性能问题的,所以还是硬着头皮提了这个PR ^_^。希望深度有机会的话,可以把我们的编辑器重构一把哈哈,做成编辑器届的瑞士军刀,小巧而好用,加油!Thanks again !

Fozei avatar Jul 08 '24 01:07 Fozei

TAG Bot

New tag: 6.5.0 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #286

deepin-bot[bot] avatar Aug 21 '24 08:08 deepin-bot[bot]

TAG Bot

New tag: 6.5.1 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #289

deepin-bot[bot] avatar Sep 03 '24 09:09 deepin-bot[bot]

TAG Bot

New tag: 6.5.2 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #291

deepin-bot[bot] avatar Sep 13 '24 09:09 deepin-bot[bot]

TAG Bot

New tag: 6.5.3 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #294

deepin-bot[bot] avatar Sep 27 '24 06:09 deepin-bot[bot]