Recognize periods as word breaks
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Recognize periods as word breaks
I'd have to agree with Mesh. I think more than the period is needed.
Another option to maintain your dot-only use could be to implement triple-clicking which would select just the base or extension.
Another option to maintain your dot-only use could be to implement triple-clicking which would select just the base or extension.
-
admin
- Site Admin
- Posts: 66346
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Recognize periods as word breaks
That's a possibility. But for now I wouldn't mind finding a choice that suits most users. So, does everybody agree on " _()." as word boundaries?Mesh wrote:; All characters listed between double quotes will be considered word boundaries for all renaming purposes
WordBoundaryCharacters= " _()."
FAQ | XY News RSS | XY X
-
Mesh
- Posts: 956
- Joined: 24 Mar 2008 21:22
Re: Recognize periods as word breaks
admin wrote:
That's a possibility. But for now I wouldn't mind finding a choice that suits most users. So, does everybody agree on " _()." as word boundaries?
If we're looking for a catch-all solution for the moment, it probably makes more sense to reverse the parameters and simply say any character that's not "a-z" (case insensitive) and "0-9". That would be more accurate and catch the characters we might not initially think of.
I can't think of any character outside of the "a-z" and "0-9" range that *wouldn't* be a word seperator of some sort.
-
admin
- Site Admin
- Posts: 66346
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Recognize periods as word breaks
I can do that. Agreement?Mesh wrote:admin wrote:
That's a possibility. But for now I wouldn't mind finding a choice that suits most users. So, does everybody agree on " _()." as word boundaries?
If we're looking for a catch-all solution for the moment, it probably makes more sense to reverse the parameters and simply say any character that's not "a-z" (case insensitive) and "0-9". That would be more accurate and catch the characters we might not initially think of.
I can't think of any character outside of the "a-z" and "0-9" range that *wouldn't* be a word seperator of some sort.
FAQ | XY News RSS | XY X
-
avsfan
- Posts: 554
- Joined: 29 Jun 2006 09:00
- Location: Fort Collins, Colorado
Re: Recognize periods as word breaks
Sounds good. I typically use spaces and dashes "-" as word separators, so that would work great for me.
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Recognize periods as word breaks
Yes, I think any character/symbol outside of those ranges should be considered as a word break (including spaces of course).admin wrote:I can do that. Agreement?
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
admin
- Site Admin
- Posts: 66346
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Recognize periods as word breaks
Well, I can: á, ü, ñ ...Mesh wrote:I can't think of any character outside of the "a-z" and "0-9" range that *wouldn't* be a word seperator of some sort.
Looks like it's easier to collect the potential word breakers in file names:
Code: Select all
(){}[].,;- !§$%&=+#_That should cover it more or less...
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Recognize periods as word breaks
Here are a few more...admin wrote:That should cover it more or less...
Code: Select all
~^*/\|Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
Mesh
- Posts: 956
- Joined: 24 Mar 2008 21:22
Re: Recognize periods as word breaks
admin wrote:Well, I can: á, ü, ñ ...Mesh wrote:
I can't think of any character outside of the "a-z" and "0-9" range that *wouldn't* be a word seperator of some sort.
Looks like it's easier to collect the potential word breakers in file names:
[/size]Code: Select all
(){}[].,;- !§$%&=+#_
That should cover it more or less...
Damn. I forgot about those. Maybe the INI route is the easiest way after all. Well, if you're going with a static and uneditable list to start with, I'd probably add "<>" and M-Dashes.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Recognize periods as word breaks
But are all the chars listed above valid within file names? Just wondering...I'm not 100% sure if all those are.
And if it's done via INI setting, then a user could decide if they wanted a char to be treated as separator or not...in my case, I use the "$" and "#" as 'normal' chars, as in "M$ - Update xxxx" as abbrev for Microsoft.
And if it's done via INI setting, then a user could decide if they wanted a char to be treated as separator or not...in my case, I use the "$" and "#" as 'normal' chars, as in "M$ - Update xxxx" as abbrev for Microsoft.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66346
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Recognize periods as word breaks
Me too. $ and # should probably be left out for most people. But or now I put them all in:j_c_hallgren wrote:But are all the chars listed above valid within file names? Just wondering...I'm not 100% sure if all those are.
And if it's done via INI setting, then a user could decide if they wanted a char to be treated as separator or not...in my case, I use the "$" and "#" as 'normal' chars, as in "M$ - Update xxxx" as abbrev for Microsoft.
Code: Select all
.:,; _-~(){}[]<>|/\^°*?!§$%&=+#"'I will make it configurable later.
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Recognize periods as word breaks
So what happend when combinations of these occur in a set, as in "M$ - fix #123765"? Does it get considered as one break? So that, for now, the "$ - " isn't treated as four breaks...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66346
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Recognize periods as word breaks
As four breaks currently. Hmmm, I should change this maybe...j_c_hallgren wrote:So what happend when combinations of these occur in a set, as in "M$ - fix #123765"? Does it get considered as one break? So that, for now, the "$ - " isn't treated as four breaks...
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Recognize periods as word breaks
Thank you for adding those characters, but please enable them to be recognised as word breakers throughout the program. It really needs to work for Rename Special --> Capitalization.admin wrote:Me too. $ and # should probably be left out for most people. But or now I put them all in:
[/size]Then we can see which ones to drop.Code: Select all
.:,; _-~(){}[]<>|/\^°*?!§$%&=+#"'
I will make it configurable later.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
Mesh
- Posts: 956
- Joined: 24 Mar 2008 21:22
Re: Recognize periods as word breaks
admin wrote:j_c_hallgren wrote:
So what happend when combinations of these occur in a set, as in "M$ - fix #123765"? Does it get considered as one break? So that, for now, the "$ - " isn't treated as four breaks...
As four breaks currently. Hmmm, I should change this maybe...
Well, what I was originally envisioning was something like this:
If we're starting from the left side and hit Ctrl-<Right>, the cursor would stop before the next non-break character that occurs after a break character. This would have prevented the behavior j.c. brought up.
XYplorer Beta Club