You are here: PSPad forum > Bug report / Hlášení chyb > Re: Bug + fix - AutoHotkey auto syntax detection

Re: Bug + fix - AutoHotkey auto syntax detection

#1 Bug + fix - AutoHotkey auto syntax detection

Posted by: DuckDaffy | Date: 2016-05-09 07:28 | IP: IP Logged

Due wrong syntax*.ahk*in these files:
AutoHotkey.DEF(4x)
AutoHotkey.INI(1x)
PSPad cannot autodetect right syntax profile and you must everytime select syntax manually.

Fix: change all*.ahk*to*.ahk(remove last star char) in files above.

Options: Reply | Quote | Up ^


#2 Re: Bug + fix - AutoHotkey auto syntax detection

Posted by: pspad | Date: 2016-05-09 08:41 | IP: IP Logged

I will do it. But as I remember, Autohotkey uses .ahk2 extension too, so I will extend it

Options: Reply | Quote | Up ^


#3 Re: Bug + fix - AutoHotkey auto syntax detection

Posted by: DuckDaffy | Date: 2016-05-09 10:43 | IP: IP Logged

Thx for confirmation.

As I see, also *.ah2 extension is exist.
www.autohotkey.com

Edited 1 time(s). Last edit at 2016-05-09 10:46 by DuckDaffy.

Options: Reply | Quote | Up ^


#4 Re: Bug + fix - AutoHotkey auto syntax detection

Posted by: DuckDaffy | Date: 2016-05-09 10:50 | IP: IP Logged

And as I see there are a lot of changes in AutoHotkey v2 so will be better to create a new DEF file for v2.
What you mean?

Options: Reply | Quote | Up ^


#5 Re: Bug + fix - AutoHotkey auto syntax detection

Posted by: pspad | Date: 2016-05-09 11:08 | IP: IP Logged

DuckDaffy:
And as I see there are a lot of changes in AutoHotkey v2 so will be better to create a new DEF file for v2.
What you mean?

Are you able to prepare it? I am not Autohotkey user.
In the fact, you need list of keywords only and put it into menu Settings / User highlighter

Options: Reply | Quote | Up ^


#6 Re: Bug + fix - AutoHotkey auto syntax detection

Posted by: DuckDaffy | Date: 2016-05-09 12:18 | IP: IP Logged

pspad:
DuckDaffy:
And as I see there are a lot of changes in AutoHotkey v2 so will be better to create a new DEF file for v2.
What you mean?

Are you able to prepare it? I am not Autohotkey user.
In the fact, you need list of keywords only and put it into menu Settings / User highlighter

Sorry, I'm afraid that I can't help you.
I'm only hobby AutoHotkey v1 user and I haven't skill (and time) to completly collect and verify all AHK keywords and encourage other changes in AHK v2.
Hope some another handy user will do it. ;)

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR