ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] Labels in history lists   [ZEP]

By: Ben Kent       
Date: Aug 03,2020 at 23:09
In Response to: [ZEP] Labels in history lists (Laurent Duchastel)

> > > Filter Specification's History List allows labels, which are of
> > > great help to visually find an entry. Moreover, that specific
> history
> > > list allows space between label and filter expression for a neat
> > > alignment.
> > >
> > > History of Filter, clear and clean
> > >
> > >
> > > Unfortunately, all other history lists do not support labels. You
> can
> > > add a label manually (by editing the ZTW.HST file) but the label
> will
> > > generate an error when the item is pasted in command input line.
> > >
> > > History of Treespec, less clear and clean
> > >
> > >
> > > I wish labels could be accepted in all history lists, for both
> > > productivity and uniformity of user experience.
> >
> > Get's my vote as well.
> >
> > But XTree only had labels on filters because ":" is not a valid
> > filter character and so can safely be used as a label terminator,
> whereas
> > other input locations ":" can be a valid character. ZTree just
> followed
> > XTree.
>
> What about double ":" such as ::, which is both not a valid entry
> and used as REM in batch and F9 ?
>
> Logic would be "If :: is found in history line, everything to the
> left is label"

Laurent

Yes, :: would work in most history lists

Checking the help for for ":"
F9 item text, :: is a comment, but does not have history, so a non-issue.

Rename mask, needs text between the colons when using insert, so :: can be used as a label terminator.

NewDate, needs text between the colons, a label would be useful for the F9=adjust mode.

Accessing Alternate Data Streams ADS, i.e. d:\dir\file.ext:ads_name, so needs text between the colons, they can be viewed in ZTree, directory window, View, file.ext:ads, so :: is available as a label terminator.

For eXecute and F12 macro, there is the possibility that some users would need ::, so for those I can think of these possibilities.
1. insist on this form "This_is_the_label:: ", i.e. no spaces before the :: and at least one after.
2. use these forms eXecute "command && REM label" and macro "commands,STOP,label"

Batch, line mask, may need to be excluded from the label logic.

Checking this https://ztw3.com/forum/forum_entry.php?id=60564, we may need to exclude these from the label logic, or handle them differently.
ac Archiver Calls
bm Batch file Mask, Ctrl-[B]atch
jj batch line, Alt-[B]atch
ss Search String
xq eXe(Q)cute, see above
yy ZAAP
zf Ztree macro File, see above



Ben

780 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 77 users online (0 registered, 77 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 7:28 am UTC  |  Hits:62,396,680  (11,466 Today )
RSS Feed