Page 1 of 1

Timestamping using <focitem>

Posted: 10 Mar 2015 10:48
by Greylock
Hi,

I'm interested in using the new timestamp functionality but I'm struggling to get my head around the <focitem> code mentioned in the examples on the release notes page.

For instance, in the the first example given:

Code: Select all

timestamp , <focitem>;
"Sets all 3 dates of all selected List items to match those of the focused item."

Could someone explain how one would tell which among the selected items is the focused item?

Many Thanks.

Re: Timestamping using <focitem>

Posted: 10 Mar 2015 11:21
by TheQwerty
It can be a bit tricky to spot by default.

If the focused item is also selected then it is the item whose information is being displayed in the status bar and information panel.
If it is not selected then it will have a border around its name.
You can make it stand out better by enabling Tools > Customize List > Highlight Focused Item, which will paint the focused item's entire row red by default. This color can be changed under Tools > Configuration > Colors and Styles > Colors > List > Focused Item.

In all of the these screenshots Red.txt is the focused item:
screenshot.48.png
screenshot.48.png (65.29 KiB) Viewed 1146 times
screenshot.49.png
screenshot.49.png (57.06 KiB) Viewed 1146 times
screenshot.50.png
screenshot.50.png (59.93 KiB) Viewed 1146 times

Re: Timestamping using <focitem>

Posted: 10 Mar 2015 11:34
by Greylock
Excellent! Thank you for the perfect explanation.

Re: Timestamping using <focitem>

Posted: 11 Mar 2015 16:06
by armsys
TheQwerty wrote: If it is not selected then it will have a border around its name.
How could this scenario occur?
Is the focused item always selected?

Re: Timestamping using <focitem>

Posted: 11 Mar 2015 16:22
by admin
1. Mouse drag selection.
2. Ctrl+Up/Down.

Both is Windows standard ever since.

Re: Timestamping using <focitem>

Posted: 12 Mar 2015 00:14
by armsys
admin wrote:1. Mouse drag selection.
2. Ctrl+Up/Down.
I didn't know that the focused item can be unselected.
Thanks.