texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.84k stars 346 forks source link

CJK symbol「」\u300c \u300d (UTF-16) pair could not be input by macro. #3853

Open KazamaHoshino opened 1 month ago

KazamaHoshino commented 1 month ago

Environment

Expected behavior

When using macro such as Logitech G-hub to input CJK rectangular-quotation-mark symbol「」(\u300c \u300d) into the document, it should be displayed properly

Actual behavior

Texstudio randomly turns this pair into either 「「 or 」」;

How to reproduce

Use logitech g-hub to bind pair 「」with a key on the mouse button/keyboard (if with macro keys) Try input 「」by mouse button/macro key, into texstudio text editor

Note

Not sure if it comes with logitech, but same input method does work with overleaf/vscode