| View previous topic :: View next topic |
| Author |
Message |
BoBo Guest
|
Posted: Sun Mar 05, 2006 12:06 pm Post subject: Syntax Dll - [Sample] |
|
|
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 |
|
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sun Mar 05, 2006 3:12 pm Post subject: |
|
|
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...)  _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sun Mar 05, 2006 9:14 pm Post subject: |
|
|
@ PhiLho
It's a pleasure to support you, here we go: http://www.studioware.com |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Mar 06, 2006 10:47 am Post subject: |
|
|
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... _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Mar 06, 2006 12:31 pm Post subject: |
|
|
| 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.  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Mar 06, 2006 12:33 pm Post subject: |
|
|
| Correction: "The Dll topic is out of my scope." |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Mar 06, 2006 1:05 pm Post subject: |
|
|
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.) _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
|