View Full Version : Homesite integration
rdbetz
05-14-2003, 07:23 AM
Any pointers on how to integrate the Laszlo tags into Homesite?
antun
05-14-2003, 07:32 AM
I've tried this, but gave up after a while. I remember it being confusing because there were more than one syntax files: There's one for the "schema", but they also have vtml files for the wizard boxes, and I believe there was a third kind of file too. Homesite doesn't have a "source" call - something you use to reload the syntax files. Instead you have to reload the whole app.
If you decide to look into it, keep us posted. Failing that, check out EditPlus, or VIM (which has an "easy" mode that makes it behave like a regular text editor).
-Antun
rdbetz
05-14-2003, 09:36 AM
hmmmm...
Well, it appears that all the languages/tag families recognized by Homesite have a .scc file associated with them. I think this file is a binary parser for the language (they live in a folder called Parsers), but I can't seem to find any info on it. It doesn't seem like further research is really worth it.
So here's another question. I'm familiar with Vim. Is there a syntax file available, or does it need to be written? I'm not the one to write it; I'm just asking ;-)
-rdb
rdbetz
05-14-2003, 09:44 AM
D'oh! Sorry. It's right on the site. If it was a snake it would have bit me, as my Dad used to say.
-rdb
antun
05-14-2003, 09:50 AM
For sure! It ships with the LPS in the tools folder:
lps-dr\jakarta-tomcat-4.1.12\webapps\lps-dr\tools\lzx.vim
You'll need to put this in the syntax folder of your vim installation, and you'll also need to add this line to your filetype.vim file:
" Laszlo
au BufNewFile,BufRead *.lzx setf lzx
And if you do decide to go this route (which I thoroughly recommend!), feel free to ask any Vimming questions in this forum.
Take care,
Antun
So here's another question. I'm familiar with Vim. Is there a syntax file available, or does it need to be written? I'm not the one to write it; I'm just asking ;-)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.