Discussion:
how do I set up SciTE ver 1.59 to allow me to add a date stamp via a key?
h***@gmail.com
2013-07-17 15:56:44 UTC
Permalink
Hello,

I am using SciTE ver 1.59 for editing Ruby source code files. I am trying to figure out how to set a keyboard key to automatically insert the current date into my source code. I want to do this for date stamping my comments. I am currently using the abbreviations file to display some text and a manually entered date, but I need to enter the date each day. Any help would be greatly appreciated. Thanks.

Harry
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-07-18 00:07:53 UTC
Permalink
Post by h***@gmail.com
I am using SciTE ver 1.59 for editing Ruby source code files.
There is a separate mailing list for SciTE.
http://groups.google.com/group/scite-interest
Post by h***@gmail.com
I am trying to figure out how to set a keyboard key to automatically insert the current date into my source code.
There is no built-in support for this. Someone on the SciTE list may have implemented this as a script.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
h***@gmail.com
2013-07-18 12:03:50 UTC
Permalink
Thanks for the reply, I will check scite-interest.
Post by h***@gmail.com
I am using SciTE ver 1.59 for editing Ruby source code files.
There is a separate mailing list for SciTE.
http://groups.google.com/group/scite-interest
I am trying to figure out how to set a keyboard key to automatically
insert the current date into my source code.
There is no built-in support for this. Someone on the SciTE list may
have implemented this as a script.
Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Philippe Lhoste
2013-07-18 09:48:47 UTC
Permalink
Post by h***@gmail.com
I am using SciTE ver 1.59 for editing Ruby source code files.
Any reason to stick with such antique version?
Post by h***@gmail.com
I am trying to figure out how to set a keyboard key to automatically insert the current
date into my source code. I want to do this for date stamping my comments. I am
currently using the abbreviations file to display some text and a manually entered
date, but I need to enter the date each day. Any help would be greatly appreciated.
A Lua script can easily do that.
Indeed, you can ask it on the SciTE list.
One subtle thing is to define your preferred formatting for the date...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
h***@gmail.com
2013-07-18 12:05:12 UTC
Permalink
My company is using version 1.59, so I am pretty much stuck with that.
Post by Philippe Lhoste
Post by h***@gmail.com
I am using SciTE ver 1.59 for editing Ruby source code files.
Any reason to stick with such antique version?
Post by h***@gmail.com
I am trying to figure out how to set a keyboard key to automatically
insert the current
Post by h***@gmail.com
date into my source code. I want to do this for date stamping my
comments. I am
Post by h***@gmail.com
currently using the abbreviations file to display some text and a
manually entered
Post by h***@gmail.com
date, but I need to enter the date each day. Any help would be greatly
appreciated.
A Lua script can easily do that.
Indeed, you can ask it on the SciTE list.
One subtle thing is to define your preferred formatting for the date...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Philippe Lhoste
2013-07-18 12:59:42 UTC
Permalink
Post by h***@gmail.com
My company is using version 1.59, so I am pretty much stuck with that.
Release 1.59
Released on 19 February 2004.

Wow...
Both surprised to see SciTE used as official editor (that's nice!), and how a company
policy can stuck users with outdated software (sometime insecure, too!).
That's how we still have some Internet Explorer 6 around (eg. in my town's library!).

I am happy with my company. They stuck me on a non-admin account, but I have free access
to the admin account and can install anything I want (well, I won't install WoW or The
Sims, of course!).

You can forget the solution using a Lua script:

Release 1.60
Released on 1 May 2004.
SciTE can be scripted using the Lua programming language.

One version too low...
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Andreas Tscharner
2013-07-18 13:53:12 UTC
Permalink
On 18.07.2013 14:59, Philippe Lhoste wrote:

[snip]
Post by Philippe Lhoste
Release 1.60
Released on 1 May 2004.
SciTE can be scripted using the Lua programming language.
One version too low...
Maybe a reason to update...

Best regards
Andreas
--
Andreas Tscharner <***@gmail.com>
----------------------------------------------------------------------
"Intruder on level one. All Aliens please proceed to level one."
-- Call in "Alien: Resurrection"
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...