At 02:49 PM 6/9/2005, you wrote:
>When opening a file in VEDIT I'm often interested in knowing the date
>of the last modification of that file.
>So I added the following two lines to my STARTUP.VDM to make use of
>text register 110 (the File open event macro):
>
>Config(F_E_F_MACRO, "Enable file open/close event macros", 1, ALL)
>Reg_Set(110, 'If(Is_Open_Write) { File_Stamp_String(120)
> Statline_Message("Last mod.: |@(120)") }')
>
>This way every time I open a file its modification date/time is
>displayed in the status line; until the next keystroke.
I just added this code as an option in the Ustartup.vdm file.
>A suggestion: Perhaps that info can be added to the standard dialog
>box {Help, Status display} too?
I will keep this in the Suggestion box.
Ted.
|
|