Code: Select all
v15.50.0203 - 2015-08-14 14:10
* Ghost Filter: Completely redesigned the feature formerly known as "Hide
Items By Name". Its power now is almost frightening.
- Auto-wildcard: Patterns without wildcards are auto-surrounded by
wildcards, unless they are double-quoted (just like Visual Filters).
- Exact match: Double-quote patterns to force an exact match:
File Pattern Match
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
readme.txt readme.txt +
"readme.txt" +
alsoreadme.txt readme.txt +
"readme.txt" -
- No extension: Patterns ending with a dot match files that have no
extension. Folders never match such a pattern.
*. Match any files without extension
a*. Match all files beginning with "a" and without extension
- Path: Now you can state a full or partial path in a pattern. In that
case the pattern is compared with the full path of the item.
"E:\Test\hidden\readme.txt" Match just this item.
E:\*.txt Match all TXT files on drive E:.
*\junk\* Match all items under a folder "junk" (not necessarily the
immediate parent!)
- Scope Prefixes: You can define whether a pattern affects files (f:),
directories (d:), or both (no scope prefix).
.* Affects files and directories.
f: .* Affects files only.
d: .* Affects directories only.
Note that there must be at least one space after the ":".
Double-quotes should come after the prefix:
f: "readme.txt" Affects files called readme.txt.
- The Status Bar tooltip now shows more detail about the cause of the hiding.
Notes:
- Releated INI keys have changed so you have to re-enter your patterns.
- Toolbar key for "ghost" has changed: Re-add the button.
- All ghost related stuff has been removed from Configuration.
- The Ghost Filter should be used with care: It might trick you into
believing that files went AWOL.
- The Ghost Filter is Pro Edition Only.
+ Status Bar: If the current list is hiding items by Ghost Filter, a little
ghost icon is shown in the first section of the statusbar.
+ Menu View | Show Items: Added command "Edit Ghost Filter..." (#499). Opens
the dialog to edit the patterns defining the items to be hidden by the Ghost
Filter.
* Menu View | Show Items: Renamed toggle "Hide Items by Name" to "Ghost
Filter".
+ Access Control: Added key "HiddenItems" to Admin.ini. Here you can state
items to hide globally from Tree and List just like above with "Ghost
Filter". Same syntax, the only difference being: You have only one line,
so the patterns are to be concatenated separated by |.
For example, this would hide all items beginning with a dot and all EXE
files from the user:
[AccessControl]
HiddenItems=.*|*.exe
Notes:
- Of course, visibility cannot be user-toggled for items that are
admin-hidden. They are hidden for good.
- This hiding is stealth: The count is not visible in the status bar.
- The pattern list is not shown in the tooltip of the "Ghost Filter" toolbar
button. It's not shown anywhere (unless you look into Admin.ini).
+ Scripting got a new function.
Name: Ghost
Action: Defines a Ghost Filter, toggles its state.
Syntax: ghost(patterns, toggle)
patterns: (optional) List of wildcard patterns separated by |.
missing: keep current patterns
else: set new patterns
toggle: (optional)
missing/empty: keep current state
0: turn Ghost Filter OFF
1: turn Ghost Filter ON
-1: toggle Ghost Filter
return:
current/old patterns (before setting new patterns)
Remarks:
The new patterns will completely replace the previous patterns just as
if you manually entered them through the GUI. So they will be toggled by
the "Ghost Filter" toolbar button, and remembered between sessions.
Examples:
ghost(".*", 1); //hide all items beginning with a dot
ghost(, 0); //turn off any ghost filter
ghost(, -1); //toggle ghost filter
text ghost(); //view current ghost filter definition
+ SC get: <get [Command ID]> now supports getting the state of the ghost
filter.
echo <get #497>;
! Ghost Filter: Patterns were case-sensitive. Nonsense. Fixed.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.
XYplorer Beta Club