Page 2 of 5
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 19:33
by TheQwerty
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.
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 20:50
by admin
Mesh wrote:; All characters listed between double quotes will be considered word boundaries for all renaming purposes
WordBoundaryCharacters= " _()."
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?
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 21:08
by Mesh
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.
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 21:13
by admin
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.
I can do that.
Agreement?
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 22:25
by avsfan
Sounds good. I typically use spaces and dashes "-" as word separators, so that would work great for me.
Re: Recognize periods as word breaks
Posted: 02 Oct 2008 23:14
by ivan
admin wrote:I can do that. Agreement?
Yes, I think any character/symbol outside of those ranges should be considered as a word break (including spaces of course).
Re: Recognize periods as word breaks
Posted: 03 Oct 2008 14:37
by admin
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.
Well, I can: á, ü, ñ ...
Looks like it's easier to collect the potential word breakers in file names:
[/size]
That should cover it more or less...
Re: Recognize periods as word breaks
Posted: 03 Oct 2008 15:13
by ivan
admin wrote:That should cover it more or less...
Here are a few more...
[/size]
Re: Recognize periods as word breaks
Posted: 03 Oct 2008 15:17
by Mesh
admin wrote:
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.
Well, I can: á, ü, ñ ...
Looks like it's easier to collect the potential word breakers in file names:
[/size]
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.
Re: Recognize periods as word breaks
Posted: 03 Oct 2008 16:09
by j_c_hallgren
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.
Re: Recognize periods as word breaks
Posted: 04 Oct 2008 08:13
by admin
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.
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.
I will make it configurable later.
Re: Recognize periods as word breaks
Posted: 04 Oct 2008 08:27
by j_c_hallgren
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...
Re: Recognize periods as word breaks
Posted: 04 Oct 2008 08:41
by admin
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...
Re: Recognize periods as word breaks
Posted: 04 Oct 2008 14:30
by ivan
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.
I will make it configurable later.
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.
Re: Recognize periods as word breaks
Posted: 06 Oct 2008 17:58
by Mesh
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.