Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

ahk.properties for SciTE


  • Please log in to reply
3 replies to this topic
Demetris
  • Members
  • 16 posts
  • Last active: Jan 18 2011 03:20 PM
  • Joined: 05 Aug 2005
News from the SciTE mailing list: Roman Hubacek made a ahk.properties file for SciTE.

Read about it here: http://blog.gmane.or...al/day=20051209
It is now in the site of SciTE: http://scintilla.sou...ciTEExtras.html

Greetings,
Demetris

BoBo
  • Guests
  • Last active:
  • Joined: --
Is someone here able to do the below to implement the above AutoHotkey Lexer (above) within Notepad2 ???
Minimum I would love that ! :D

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]



Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Thanks a lot. I'll review it for inclusion with a future version (assuming its author doesn't mind it being distributed).

BoBo
  • Guests
  • Last active:
  • Joined: --

[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]

© Florian Balmer 2004

:D