Write current date/time to a file as it is saved
Submitted by Sunday, 23 April, 2017 - 01:00
I am writing html and would like to write "Updated: ...the date of last modification.." on to the html file in a particular place. So, after testing that the file has been modified, I would like to write the current day and time to the file immediately after I tell Jedit to save the file, but before it is actually saved. Possibly, the solution would be to point my usual "save file" shortcut to a macro that writes the date/time info where I want it and then does the jedit save file command. Has anyone done this? If not, can any one point me in a direction to get me started? I have done simple ".bsh" macros, but nothing more complex. I am aware of Robert Schwenn's 2008 "insert_simple_date.bsh".
Thanks in advance. Jim
ReadOnlyBuffer (Macro) not working with jEdit 5.4
Submitted by Friday, 19 May, 2017 - 11:30
Using the MacroManager i downloaded the "ReadOnly Buffer"-Macro and associated a Toolbar-Icon with it.
The Macro does not seem to do anything in jEdit 5.4.
Possibly there is a code change in jEdit, because my own-written macro "ToggleReadOnlyBuffer" also stopped working after the update from jEdit 5.3 to 5.4.
Any idea to update the macro "ReadOnly Buffer"?
(Windows) unable to release Ctrl+Alt+J hotkey for usage
Submitted by Wednesday, 24 May, 2017 - 19:21
Ctrl+Alt+J is bound to start jEdit when it is installed (which was pretty surprise by itself and was discovered accidentally). I need this combination for another program, so I went to "Start jEdit" shortcut's properties and reset the "Shortcut key" property to a blank value.
However, the hotkey still remains bound to starting jEdit (which happens when I press the keys), although the property of a shortcut is displayed as a blank value.
How can I get rid of it?
Windows 7 Install problem: The installer will now try to quit a running instance of jEdit, when there is no running instance..
Submitted by Tuesday, 4 July, 2017 - 23:04
I have been running jEdit 5.3 for about a 1.5 years with no significant problem. On 2017-07-03 I used it and it worked fine. On 2017-07-04, It would not start. jedit and javaw exe's were created, but jEdit window would not display. I uninstalled version 5.3 and tried to install version 5.4 and got this error:
The installer will now try to quit a running instance of jEdit.
Please save your work and exit jEdit for the installation to continue.
The installer hangs up at this point.
I did not have a running instance, but the installer thought that I had one. I am guessing that something went wrong with jEdit when I shutdown on the 3rd. Does anyone know how to tell windows 7 to get rid of this phantom instance of jEdit. I am using a backup version of jEdit 4.5.2 for the time being. So, I can continue with my work. I am guessing that this phantom instance also caused the jEdit 5.3 startup problem that I had before the uninstall.