<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Greetings from a newbie.<BR>
<BR>
I've been using Geany for a few years as a general editor under Ubuntu.<BR>
<BR>
I'm into program development for Microchip PIC processors, and have recently started using a programming language called "Jal".<BR>
Jal is a Pascal-like language, but the syntax is different enough that telling Geany to use the Pascal highlighter does not work.<BR>
<BR>
I have the geany 1.23 source, and I've actually make some changes to the VHDL scintilla lexer and filetypes.vHDL to handle folding and syntax highlighting properly.<BR>
<BR>
However, I would like to do a better job of supporting Jal. In particular, I would like the symbol tree to be able to show the variables and constants defined in a Jal program. Using the VHDL filetype, Geany shows the functions and procedures (I did nothing to cause this to happen), but not the variables.<BR>
<BR>
Only some filetypes actually display variables. Basic, for example, does, while Pascal does not.<BR>
<BR>
I've no problems with making changes to the Geany code, but I've no idea where to start with the display of variables and constants. The scintilla lexers that I've seen, and the scintilla documentation do not make it really obvious how one writes a lexer.<BR>
<BR>
I would appreciate it if someone could point me in the proper direction - what pieces of code should I be looking at?<BR>
<BR>
Thanks for any guidance you can provide.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Larry Bradley  <BR>
Orleans (Ottawa) Canada <BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>