AutoHotkey Community

It is currently May 27th, 2012, 5:12 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ahk.properties for SciTE
PostPosted: December 13th, 2005, 8:55 pm 
Offline

Joined: August 5th, 2005, 6:31 pm
Posts: 16
News from the SciTE mailing list: Roman Hubacek made a ahk.properties file for SciTE.

Read about it here: http://blog.gmane.org/gmane.editors.scite.general/day=20051209
It is now in the site of SciTE: http://scintilla.sourceforge.net/SciTEExtras.html

Greetings,
Demetris


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 14th, 2005, 1:31 am 
Is someone here able to do the below to implement the above AutoHotkey Lexer (above) within Notepad2 ???
Minimum I would love that ! :D

Quote:
Could you please explain how to add or modify syntax schemes?

This requires modification of the Notepad2 source code.

The Scintilla documentation has an overview of syntax highlighting, and how to write your own lexer, in case the language you'd like to add is not supported by Scintilla.

The structures relevant to syntax highlighting can be found in Styles.c of the Notepad2 source code. Add your own structures to the global pLexArray, then adjust NUMLEXERS to the total number of syntax schemes. The style definitions can be found in SciLexer.h of the Scintilla source code.

Include the Lex*.cxx files from Scintilla required for your languages in your project and follow the instructions in Readme.txt to rebuild Notepad2. I recommend using Visual Studio .NET 7 or above.

[Notepad2 1.0.12 Source Code]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 14th, 2005, 8:48 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks a lot. I'll review it for inclusion with a future version (assuming its author doesn't mind it being distributed).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 14th, 2005, 10:26 pm 
Quote:
[Notepad2 International]

Notepad2 is based on the Scintilla source code editing component:
http://www.scintilla.org

The full Notepad2 source code is distributed under the terms of the
GNU General Public License and can be found at:
http://www.flos-freeware.ch

Copyright

Notepad2 is FREEWARE and may be used and distributed freely. Please
do not charge any distribution or download fees for this program,
except for the cost of the distribution medium. The use of the
software is AT YOUR OWN RISK.

If you have comments or questions, please drop me a note:
[Find contact information on my homepage]

(c) Florian Balmer 2004
:D


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 11 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