sublime_text
sublime_text copied to clipboard
Synced find query double escaped when shared among windows
Description of the bug
Backslashes are double-escaped when query is shared across windows
Steps to reproduce
- Open several files in ST in different windows
- Cmd-F to open the find bar
- Cmd-Opt-R to make it a regex search
- Type
\din the query - Switch to another window and bring up the find bar (Cmd-F)
- Notice that the query has been incorrectly escaped as
\\d
Expected behavior
The query should be shared among the windows without being corrupted
Actual behavior
The query in other windows has backslashes double-escaped, so its meaning has changed.
Sublime Text build number
4200
Operating system & version
macOS 15.6.1 (24G90)
https://github.com/user-attachments/assets/b90a4962-e810-422d-a4a8-fa7a4196338c