coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.46k stars 431 forks source link

Open files unexpected slowly #1626

Closed yuhuangniu closed 6 months ago

yuhuangniu commented 6 months ago

Description

When I updated coteditor from 4.7.4 to 4.8.1, opening files with numerous lines is extreme slowly, and everything works fine in old version 4.7.4.

To Reproduce

You can use this file ( https://github.com/kchen0x/rime-crane/blob/main/liangfen.dict.yaml ) in coteditor(4.8.1) to test:

  1. Open coteditor(4.8.1) and drag the above file into coteditor, everything works fine, the file was opened quickly.

  2. But close coteditor and directly using coteditor to open the above file with double clicking, this potential bug repeats itself.

Expected behavior

No response

CotEditor version

4.8.1

macOS version

macos 13.6.6

Additional context

No response

1024jp commented 6 months ago

Thank you for the report. This issue will be solved on the next version, CotEditor 4.8.2. 4.8.2 will be released tomorrow.

If the issue exists still in 4.8.2, please let me know.