Sublime Forum

Find and Replace broken in 3103

#1

I am trying to replace a part of a literal with something else. Simply doesn’t work.

For example, someVeryBigNameThatGoesAsAPrefix_1 with someVeryBigNameThatGoesAsAPrefix_2, i.e. replace 1 with 2.

0 Likes

#2

I cannot reproduce this on 3105 on Windows. (Only wrap and highlight matches are on for me.)

Have you checked the options on the left of the textboxes? Maybe you turned something on/off that influences the pattern matching. For example, whole word on will not work for what you want.

0 Likes

#3

I am using a Mac. None of the options were selected when I tried it. I just tried with wrap and highlight on. Didn’t make any difference.

Please see the screenshot. The literal “food” is right there.

0 Likes

#4

But somehow it is looking for whole word: you can see the \b around food in the taskbar: select/unselect the whole word option.

1 Like

#5

Perhaps that’s the bug. When I have the whole word filter set, it worked.

0 Likes

#6

I assume it’s your theme’s fault rather.

0 Likes

#7

Unfortunately, that’s not the case. I used the default theme … same issue.

0 Likes