SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

The popular SciTE-based AutoHotkey Script Editor
User avatar
Posts: 20
Joined: 13 Nov 2013, 14:39

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

10 Feb 2020, 20:58

Is there a "Restore previously opened files" option? I rely on this feature a lot in other software, from web browsers to code editors to Acrobat PDFs, etc. It'd be great if SciTE4AHK could do those, reopening whatever scripts were open at time of closing. I keep a number of scripts open in the editor for frequent editing, so it's a bit of a hassle when I need to restart, having to open them all manually from the "Recents" menu or clicking/dragging.

I have a feeling I may be overlooking the setting however -- does this exist already? TIA
User avatar
Posts: 1763
Joined: 02 Oct 2015, 12:15

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

10 Feb 2020, 21:26

Under file menu:
Look for load session... and save session...

User avatar
Posts: 310
Joined: 29 Sep 2013, 21:29
GitHub: JnLlnd
Location: Montreal, Quebec, Canada

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

11 Feb 2020, 10:58

I have this in my file (open it from the "Options / Open User properties")

Code: Select all

#~ If you set save.session, the list of currently opened buffers will be saved on exit in a session file. 
#~ When you start SciTE next time (without specifying a file name on the command line) the last session will be restored automatically.

#~ Setting session.bookmarks causes bookmarks to be saved in session files. 
#~ If you set session.folds then the folding state will be saved in session files. 
#~ When loading a session file bookmarks and/or folds are restored. Folding states are not restored if is set.

#~ Setting save.position causes the SciTE window position on the desktop to be saved on exit in the session file and restored at start up.

#~ Setting save.recent causes the most recently used files list to be saved on exit in the session file and read at start up.

User avatar
Posts: 22
Joined: 25 May 2015, 02:57

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

24 Jun 2020, 01:08

A potential update is coming to SciTE4AutoHotkey (SciTE4AHK).

I have not looked at this thread and the associated source code on github in a while. I see that fincs was working an update for SciTE4AHK to scintilla/SciTE (S/S) version 3.7.1 last October.

The version of SciTE4AHK suggested by is fincs version dated October 12, 2014. That version updated SciTE4AHK to S/S version 3.5.1. evilC posted an excellent summary of the complicated multistep SciTE4AHK compile process in July of 2017:
In that post, he provided an SciTE4AHK update to S/S version 3.6.0. Fortunately, the 3.6.0 update can be copied over the installed 3.5.1 version without loss of functionality.

PLEASE NOTE: S/S version 3.6.0 was released in August of 2015. The current S/S version 4.4.3 was released June of 2020.


I used to believe, the best SciTE4AHK update would be to upgrade from S/S version 3 to version 4. SciTE4AutoIt3 made the move from version 3.7.3 to version 4.1.0 in 2018. The current version of SciTE4AutoIt3 runs on S/S version 4.2.0.

Today, I feel that we should wait to upgrade SciTE4Autohotkey. For now, AutoHotkey language updates to SciTE4AHK would be nice.

My argument for waiting to the upgrade SciTE4AHK follows:

Scintilla/SciTE (S/S) is likely to upgrade to version 5 this year. S/S version 5 will greatly change the internal architecture of S/S. Lexer files are currently built into S/S. Adding lexers for new languages results in SciTE code bloat. Even simple language changes result in lexer changes and they require a recompile of SciTE to accommodate the changes. This has been an issue with SciTE and with SciTE4AutoHotkey for some time. The compiled version of SciTE4AHK provided by evilC in 2017 is stuck at the AHK v1.1 and v2.0 languages as they existed in December of 2016.

With S/S version 5, an external Lexilla library will be created and the S/S lexer files (after recoding) can be moved out of the editor and stored in the external Lexilla library. Removing these language specific files from the editor will result in reduced code bloat. A user's Lexilla library can be paired down to only the lexers for the languages that the user codes with. Most language updates will be completed on the lexers in the Lexilla library rather than on the code in SciTE. This will eliminate the need to recompile SciTE every time there is a language update. Unused lexers can be removed from and new lexers can be added to the Lexilla library for use by SciTE without recompiling SciTE. Finally, the external Lexilla library can be shared between different SciTE based editors. This will greatly increase the number of coders available to maintain each lexer.

I believe that S/S version 5 (as proposed) will finally give us a means to have a lexer for each version of AutoHotkey that can be updated and installed when there is a new update to that version AHK. Users will no longer need to maintain their own lexers and to recompile SciTE4AHK after each AHK update to keep SciTE4AHK up-to-date. This will allow SciTE4AHK upgrades to be reserved for major functional improvements and important/critical bug fixes.

fincs update of SciTE4AHK to S/S version 3.7.1 will be warmly welcomed (especially if it updates the AHK 1.1 and 2.0 language files). I certainly plan thank him for the update when it is released. I also note that GitHub is currently providing matching funds if we support fincs work.
  • Wash your hands frequently.
  • Maintain 2 meters distance.
  • Avoid touching your eyes, nose, and mouth.
  • Wear a mask when you are in public.
  • Stay informed.
  • If you get sick, seek medical care early.
User avatar
Posts: 7640
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

24 Jun 2020, 08:59

Neat, I still use SciTE4AHK for all my ahk scripting :D
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 20 guests