The following happens only in my XYplorer (26.60.0312 with years of setting adjustments). It doesn't happen in a ::fresh instance. What I need is some clue as to the setting or tweak that causes this behavior, because I can't find one.
Behavior: I have the file "bbb.txt". I select it and enter rename mode (eg. w F2). Then I highlight the "bbb" part, and press left-bracket: [. Instead of the "bbb" being replaced by "[", it not only remains but picks up left and right brackets. Thus: [bbb].txt
In Configuration | Rename I have "Preselect name" enabled, but disabling it makes no difference.
Any ideas?
Unexpected "auto-brackets" in file rename (not bug but ??)
-
Malarki
- Posts: 209
- Joined: 03 Dec 2019 02:51
- Location: Windows 10 x64; 100% Scaling
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
You've enabled it via tweak, to disable,
SurroundSelection=0
SurroundSelection=0
-
Malarki
- Posts: 209
- Joined: 03 Dec 2019 02:51
- Location: Windows 10 x64; 100% Scaling
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
Thanks! That was it. Must've set that ages ago. You've saved me a lot of looking!
-
admin
- Site Admin
- Posts: 66091
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
No need to tweak: Configuration | General | Controls & More | Miscellaneous | Enable surround selection
FAQ | XY News RSS | XY X
-
Malarki
- Posts: 209
- Joined: 03 Dec 2019 02:51
- Location: Windows 10 x64; 100% Scaling
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
Maybe the "Surround Selection" checkbox should be in the "Sort and Rename" group of Controls, if it only comes into play on a rename.
-
admin
- Site Admin
- Posts: 66091
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
It also works in the address bar and all edit boxes, e.g. in scripting.
FAQ | XY News RSS | XY X
-
Malarki
- Posts: 209
- Joined: 03 Dec 2019 02:51
- Location: Windows 10 x64; 100% Scaling
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Unexpected "auto-brackets" in file rename (not bug but ??)
I totally missed that getting added to the UI...
XYplorer Beta Club