| View previous topic :: View next topic |
| Author |
Message |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sat Nov 17, 2012 11:00 pm Post subject: |
|
|
FindFiles.js
Added: click on header of files list - sort files ascending/descending.
Added: option in settings "Show full path on files list".
Fixed: run time error if double click on empty files list. |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sat Nov 17, 2012 11:59 pm Post subject: |
|
|
| KDJ, can You add multiple wildcards search? Separated by semicolon like "*.h*; *.c*". |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sun Nov 18, 2012 3:58 pm Post subject: |
|
|
FeyFre
#1
Now you can do this using regular expression eg:
\.(h|c)[^\.]*$
#2
Some programs use to multiple wildcards search a list of items separated by semicolon or space.
But both semicolon and space can be included in the file name.
In this way, we do not find a file whose name contains a semicolon or a space:
*;*
* *
Can I use an another separator? One of these, which is illegal in the file name:
<>:"/\|*?
I think will be good colon : or pipe |. |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sun Nov 18, 2012 4:37 pm Post subject: |
|
|
"|" is widely used as exluding mask.
":" is valid character, because you specifying full name with letter.
Mask with spaces must be qouted by quotes. So mask separators if they used as part of mask must be quoted.
By the way, it is only ntfs and fat does not allows colons in names, but not some other FSs(ext2/3/4, other from UNIX world). |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sun Nov 18, 2012 7:21 pm Post subject: |
|
|
FeyFre
| Quote: | | ":" is valid character, because you specifying full name with letter. |
No, the mask only applies to the file name, without path. The path is specified in field "Directory".
| Quote: | Mask with spaces must be qouted by quotes. So mask separators if they used as part of mask must be quoted.
|
No, in the current version of the script do not use quotes for search files with spaces in the name, so we should give:
* *
What separator will be the best?
For now, I don't know how to solve this problem.
Maybe leave it as is, and to advanced search use regular expressions. |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Sun Nov 18, 2012 7:27 pm Post subject: |
|
|
| Quote: | | No, the mask only applies to the file name, without path. The path is specified in field "Directory". | Probably. I did used it once, so not remembered details.
| Quote: | No, in the current version of the script do not use quotes for search files with spaces in the name, so we should give:
* * | I know. I meant, it would be good if it will in future.
| Quote: | What separator will be the best?
For now, I don't know how to solve this problem.
Maybe leave it as is, and to advanced search use regular expressions. | Do it by your desire, I shall be happy in any case. By the way, ampersand (&) sign can also be suitable here. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sun Nov 18, 2012 8:06 pm Post subject: |
|
|
FeyFre
With an ampersand is the same problem as with a semicolon - it may be in the file name.
Can apply slash or backslash as separator? |
|
| Back to top |
|
 |
DV
Joined: 16 Nov 2006 Posts: 723 Location: Kyiv, Ukraine
|
Posted: Sun Nov 18, 2012 9:05 pm Post subject: |
|
|
| Semicolon ';' and comma ',' are commonly used as separators in different file managers. Also, spaces are ignored in this case, i.e. "*.cmd;*.bat" equals to "*.cmd, *.bat". This is a common and usual way, so seems to be the best option. If you want to support ',' and ';' as a part of file name, consider use them inside quotes. Otherwise just treat them as separators. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Mon Nov 19, 2012 7:51 pm Post subject: |
|
|
FeyFre, DV
Ok, I'll try to do it with a semicolon as a separator.
Andrey_A_A
Thank you for the translation into Russian FindFiles.js. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Mon Nov 19, 2012 8:50 pm Post subject: |
|
|
FindFiles.js
Added: Alt+Del - remove item from history list (Directory, Name of file, Text in file).
Added: Russian translation.
Fixed: set selection after changing setting "Show full path on files list".
Note:
Starting from version 4.8.0 AkelPad, properly working search in binary files. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1888 Location: Vinnitsa, Ukraine
|
Posted: Tue Nov 20, 2012 10:32 pm Post subject: |
|
|
Yes, it works for me now Thanks. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Thu Nov 22, 2012 6:40 pm Post subject: |
|
|
FindFiles.js
Added:
- in the field "Name of file", you can specify a semicolon-separated list of wildcards masks,
- help for wildcards.
Updated Chinese translation. |
|
| Back to top |
|
 |
VladSh
Joined: 29 Nov 2006 Posts: 2509 Location: Êèåâ, Ðóñü
|
Posted: Thu Nov 22, 2012 11:13 pm Post subject: |
|
|
KDJ
> FindFiles.js
I would like when you open the file (double-click), the first occurrence of the searched text has been selected. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Fri Nov 23, 2012 7:59 pm Post subject: |
|
|
FindFiles.js
Added: ability to translate RegExp help.
Updated Chinese translation.
| VladSh wrote: | > FindFiles.js
I would like when you open the file (double-click), the first occurrence of the searched text has been selected. |
I'll take this into account in the next version of script. |
|
| Back to top |
|
 |
|