Difference (from prior major revision)
(no other diffs)
Added: 2a3
Added: 33a35,36
When I need to insert the date and time into the current editing position, I'm looking for my smart phone or a calender, but it's not only a troublesome but also makes errata frequently. So I love this simple lua script SciteInsertDate.
scite_Command {
'Insert Date|InsertDate|Alt+Shift+D',
}
function InsertDate ()
local date_string = os.date("%Y.%m.%d %H:%M")
editor:AddText(date_string)
end
RecentChanges · preferences
edit · history
Last edited March 31, 2013 2:51 pm GMT (diff)