CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
510 stars 78 forks source link

Text was accidentally hidden when the Enter key was pressed #258

Open RonghuaHe opened 1 month ago

RonghuaHe commented 1 month ago

Description

When switching the input method to Chinese or Japanese and typing part of the text, press the Enter button a few times, the text is accidentally hidden

To Reproduce

  1. When switching the input method to Chinese or Japanese
  2. and typing part of the text,
  3. press the Enter button a few times,
  4. the text is accidentally hidden

https://github.com/user-attachments/assets/a67365b1-f083-405c-a4f7-5c40acab5bb0

Expected Behavior

Fixed text being hidden by accident

Version Information

CodeEditSourceEditor: [e.g. 0.7.4] macOS: [e.g. 15.4] Xcode: [e.g. 14.2]

Additional Context

No response

Screenshots

No response