Syntax Highlighting Updates for Scintilla

Description

Scintilla is a very popular Open Source edit control; and SciTE is a very nice and usable editor that uses Scintilla code base. Scintilla/SciTE is written by Neil Hodgson and its official home page is: http://www.scintilla.org/. I roll my own customized version for programming work.

I have written a lexer for syntax highlighting and folding Lout 3.28 source code and have contributed it to the Scintilla/SciTE code base. It does not highlight all non-text indentifiers properly (a proper parser and language awareness is needed for exact highlighting) but it does the job well enough by using only basic lexical analysis and a few assumptions. Lout lexer-specific bug reports are welcome; please send it to [email protected] (remove 'nospam' when mailing.) I am bandwidth-challenged, so my response time will not be instantaneous.

Other lexer stuff and Scintilla/SciTE stuff contributed:

I have written a full imperfect line wrapping implementation for the PDF exporter as an enhancement for EditCenter. Since the PDF exporter is meant to be functional but rudimentary, it won't be in SciTE because proportional font wrapping needs a few fairly large width tables. In any case the wrapping is imperfect because kerning is not taken into consideration by the exporter, so some lines end up being a few percent shorter when rendered in a PDF reader. So it line wraps, but you'd have to use something else to get publishing quality. If anyone really needs this feature, the files can be downloaded from here. Update 20041011: If you want full line wrapping with kerning in PDF, you're better off using a bunch of Exporters written in Lua for the SciTE Lua Extension (SciTELuaExporters project at LuaForge)

Changes

2004-08-16: Lua macros for the SciTE Lua Extension: scitemacros.html | SciTELuaExporters
2004-04-18:
API files for Lua 5 (C API and Lua calls)
lua5api.zip (13KB)
2004-04-13:
Bash shell script lexer (LexBash.cxx) update accepted. Test cases:
bashref-tests.sh (15KB) (last updated 2006-01-14)
2004-02-26:
Full wrapping fix for PDF exporter, for 1.59.
Files: PDFwrapping20040226.zip (19KB)
2003-12-08:
Completed a full wrapping fix for PDF exporter.
Files: PDFwrapping20031208.zip (19KB)
2003-11-06: Scintilla/SciTE PDF exporter updates accepted.
2003-10-22:
Scintilla/SciTE Perl lexer updates accepted. Test cases:
perl-test-cases.pl (41KB) (last updated 2005-07-11)
2003-10-08:
Scintilla/SciTE assembly language lexer update accepted. Test cases:
asm-test-cases.asm (8KB)
2003-05-16:
Scintilla/SciTE 1.53 officially supports Lout 3.28.

Download

Scintilla/SciTE can be downloaded from its official site: http://www.scintilla.org/.


Copyright © 2003-2006 Man Kein Hong all rights reserved. Last Revised: 2006-01-14.
Home:
http://www.geocities.com/keinhong/ | Canonical URL: http://www.geocities.com/keinhong/scintilla.html
Hosted by www.Geocities.ws

1