AutoHotkey Community

It is currently May 27th, 2012, 8:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Syntax Dll - [Sample]
PostPosted: March 5th, 2006, 1:06 pm 
Quote:
To learn how to build your own custom syntax dll and get samples, download SyntPack.zip, 108 Kbytes.
www.studioware.com/SyntPack.zip


From its ReadMe - SyntPack.doc
Quote:
Before getting in the details of programming a syntax recognition dll, make sure that your problem cannot be solved in a simpler way ... More specifically, the Editeur release contains a generic library "generic.dll" for wich you can create new .ini files to recognize new syntaxes


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2006, 4:12 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
The usefulness and use cases of this one seems a bit cryptic... (didn't downloaded the file, too lazy to extract the URL of the site...) :roll:

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2006, 10:14 pm 
@ PhiLho
It's a pleasure to support you, here we go: http://www.studioware.com


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2006, 11:47 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
So, if I understand correctly, these DLLs are useful only for this payware editor? I am not sure why you gave this link, how it is useful.

Well, I think I will stick with my SciTE anway :-) You have to make DLLs for syntax hightlighting too, but at least I already know the code...

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2006, 1:31 pm 
Quote:
... the Editeur release contains a generic.dll for wich you can create new .ini files to recognize new syntaxes
TBH. The Dll topic isn't out of my scope. I thought it would be possible to link that specific Dll to AHK via AHK's DllCall() if connected to an AHK-SyntaxHighlighting.ini. I take your statement that I'm wrong. Never mind. 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2006, 1:33 pm 
Correction: "The Dll topic is out of my scope."


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2006, 2:05 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Well, if it is similar to Scintilla, the DLLs are very specific to this software, probably operating on the internal data (in Scintilla, oversimplifying, it interleaves style code bytes and text bytes), etc.

If what you are looking for is a way to get syntax hightlighted output (eg. HTML), there are some freewares able to do this.
If you don't know them already, I can find them quickly. (There is SciTE again, but it doesn't work at command line level for this.)

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group