google-code-export / notepad2-mod

Automatically exported from code.google.com/p/notepad2-mod
Other
2 stars 1 forks source link

need better AHK syntax formatting! #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to set formats for AHK scripts.
2.
3.

What is the expected output? What do you see instead?
I just found Np2mod ... have been using Np2 ...
I'm thrilled that Np2mod has AHK syntax highlighting!

I would like to see better AHK syntax highlighting!

Too many keywords are in FlowOfControl.
Some should be in BuiltInVariables.
Some should be in Commands ...
See the ahk.keywords in the SciTE editor here»
http://www.autohotkey.net/~fincs/SciTE4AutoHotkey_3/web/
I've tried to attach/upload the file.

What version of the product are you using? 4.24.419
On what operating system? XP

Please provide any additional information below.
I'm looking forward to the aviSynth formatting!
Right now I have .avs under SQLquery ...

Original issue reported on code.google.com by aen00...@gmail.com on 17 Mar 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
Here's my customized userdefinelang.xml for AHK for NP++
See also» http://www.autohotkey.com/forum/topic12303-45.html

There is no FlowOfControl in the udl.xml, so I cheated and separated FoC words
by putting them in the Folder± group ... Maybe I could submit a propoped 
keyword grouping to Np2mod?

Original comment by aen00...@gmail.com on 17 Mar 2011 at 7:09

Attachments:

GoogleCodeExporter commented 9 years ago
Only proper patches will be accepted and I have no interest in updating AHK 
support myself since I don't use it.

Original comment by XhmikosR on 17 Mar 2011 at 11:42

GoogleCodeExporter commented 9 years ago
OK ... I have no idea how to submit a proper patch.
Np2 is only my third string AHK editor, but I would like to improve the AHK 
syntax formatting. Maybe someone could provide me with a template that I could 
complete and give back, so you could compile the template into a proper patch? 
Maybe someone has some other idea how to do this? I have no idea how to submit 
a proper patch ...

Original comment by aen00...@gmail.com on 20 Mar 2011 at 8:17

GoogleCodeExporter commented 9 years ago
I'm sorry, there's nothing more I can tell you. The source is there, feel free 
to play with it. Also google is your friend regarding the patch creation 
process.

Original comment by XhmikosR on 20 Mar 2011 at 10:45

GoogleCodeExporter commented 9 years ago
Here's some icons I created, so my system would have icons for every Np2mod 
language ...

Original comment by aen00...@gmail.com on 24 Mar 2011 at 11:41

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by XhmikosR on 20 Apr 2011 at 4:23

GoogleCodeExporter commented 9 years ago
This was made using the keywords from the latest SciTE4AutoHotkey.

Original comment by bruno...@gmail.com on 16 Jan 2012 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch, I'll have a look later.
Have you verified that everything is right in that patch? (compile and try the 
build)

While you are at it, you might be interested in updating the other lexer 
properties for AHK, the colors for example.

I don't really use AHK, so someone who does, should be more appropriate to do 
it.

Original comment by XhmikosR on 16 Jan 2012 at 4:49

GoogleCodeExporter commented 9 years ago
Yeah, I tested before posting.
I don't use it either.
But I'll try to get the colors to look the same as in SciTE4AutoHotkey.

Original comment by bruno...@gmail.com on 16 Jan 2012 at 5:58

GoogleCodeExporter commented 9 years ago
Looks about right.

Original comment by bruno...@gmail.com on 16 Jan 2012 at 7:31

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm not sure if it has to be identical. It just has look good in your eyes.

I found this AHK sample in my disk (I can't remember where I found it, probably 
SciTE4AutoHotkey, but it should do the job)

Original comment by XhmikosR on 16 Jan 2012 at 7:52

Attachments:

GoogleCodeExporter commented 9 years ago
It's not identical, SciTE4AutoHotkey seems to use bold and italics everywhere, 
it kinda looks good for the font it uses, but not for the system font.
I made it so to look good but still not look way too odd next to the other 
styles (tried to, at least).

Original comment by bruno...@gmail.com on 16 Jan 2012 at 8:09

GoogleCodeExporter commented 9 years ago
I'm not sure about the use of italics even in the last patch. I don't really 
like those so I maybe remove them. Other than that everything looks ok.

BTW, is the word "this" supposed to be highlighted?

Original comment by XhmikosR on 18 Jan 2012 at 7:20

GoogleCodeExporter commented 9 years ago
I really don't know, I got all the data from ahk.keywords.properties.
It's under "special keywords".

https://github.com/fincs/SciTE4AutoHotkey/blob/master/source/ahk.keywords.proper
ties

Original comment by bruno...@gmail.com on 18 Jan 2012 at 8:19

GoogleCodeExporter commented 9 years ago
committed in r700.

Original comment by XhmikosR on 19 Jan 2012 at 12:05