Cannot substitute character for tabs "\t"

Solved bugs are moved into this topic...
Post Reply
IvanM
Posts: 2
Joined: 18.02.2020 07:56

Cannot substitute character for tabs "\t"

Post by IvanM »

When I try to replace some character with tabs "\t" (with the regular expressions switch active) it replaces them with "t" characters instead. This worked fine in previous versions of the program.

How to reproduce:

1. Open a new blank document and write "Lorem ipsum" (without quotes)
2. Press Ctrl+R (opens Find/replace dialog)
2.1. Find: type " " (blank spaces, without quotes)
2.2. Replace: type "\t" (tab character, without quoutes)
2.3. Activate option "Regular expressions"
3. Press Replace All

Expected result: "Lorem ipsum" (separated with tabs)
Actual result: "Loremtipsum"

Cuda version 1.94.1.0
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Thanks, seems it is OK in the 1.94.5, pls test
https://github.com/Alexey-T/CudaText/issues/2403
IvanM
Posts: 2
Joined: 18.02.2020 07:56

Post by IvanM »

Tested in 1.94.5. It works as expected.

Thanks
Post Reply