Who maintains the Lazarus Synedit? I added a postgresql dialect lazarus / 31-LCL ---------------------------------------------------------------------- snorkel · 2012-09-26 18:24 Hi, I noticed the Lazarus version of Synedit did not have a postgreSQL dialect for the SQL highlighter. I submitted it to the Delphi version of Synedit years ago and added it to the Lazarus version. I created a bug tracker ticket with the modified file but don't know if anyone will see it. ---------------------------------------------------------------------- Bart · 2012-09-26 20:06 Can you supply a patch/diff instead ot the unit file? (See the wiki article: creating a patch) Bart ---------------------------------------------------------------------- Martin_fr · 2012-09-26 20:18 Seen and commented. Unfortunately, using your file would undo many other changes. Out of curiosity. I tried to locate your version on the net, and could not find it? Is it part of the original SynEdit ( http://sourceforge.n et/apps/mediawiki/synedit/index.php?title=SynEdit_Home_Page ) or of some port? Some parts look like the original SynEdit, but other do not (e.g. I could not eind a SynEdit, that has the Sample Source, used in your file: Code: [Select]    sqlPostgres:       Result := '-- PostgreSQL SQL sample source'#13#10 +         'SELECT datname'#13#10 +         'FROM pg_database'#13#10 +         'WHERE datname = ''postgres'';'; ---------------------------------------------------------------------- snorkel · 2012-09-26 21:10 ok, I will look at doing a patch, I have never done one before as a delphi user. I just added the source example today to make it more Postgres, the original synedit just used the standard sql for that example. I dont know if I ever got credit for putting it together, but if I did it would be under my real name, not snorkel.  I submitted it to the unisynedit project probably 4 or 5 years ago and the maintainer added it. I will clean it up a bit and remove any keywords etc that are in the standard SQL.  There is a bit of redundancy.   I will also go through the postgresql docs and add in the latest functions,types,exceptions and keywords.  The current ones are from PG 8.3 I believe. Should I pull the file from Lazarus Trunk when I attempt do the patch? ---------------------------------------------------------------------- Martin_fr · 2012-09-26 21:23 You need to pull the Laz trunk files, before you start modifying. Then make all modifications on the Laz trunk file (or rather a copy of it) You will note, that many "IFDEF SYNLAZ" are gone. And some other dialect was added.