typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

High cpu usage when searching for $ or ^ in regular expressin mode

Open n-wissam opened this issue 1 year ago • 0 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [x] Searched http://support.typora.io/


Describe the bug Searching for $ or ^ in regular expression mode makes Typora freeze with high cpu usage

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Find'
  2. Click on 'regular expression icon to activate regular expression mode'
  3. Type '$ or ^'

Sample Markdown File The problem happens in any markdown file even empty ones

Desktop (please complete the following information):

  • OS: [EndeavorOS (based on arch)]

Typora Version 1.3.6

n-wissam avatar Jul 17 '22 11:07 n-wissam