Posted by
Boer, CPJ de on
Sep 20, 2006; 8:57am
URL: http://spssx-discussion.165.s1.nabble.com/Principal-component-analysis-with-clusters-tp1070978p1070981.html
Hello Sebastián,
In UltraEdit you can select what (programming) language the editor should reflect. It then can format the text accordingly (highlighting etc).
You select that language via View-->View as (Highlighting File Type)--> and then you can select one of the 20 languages.
11 Are allready predefined 1=C/C++ through 11=CSS. This means that 12 through 19 (20 is unformatted) languages are still available.
You have to define thos languages yourself.
In the directory 'C:\Program Files\IDM Computer Solutions\UltraEdit-32' or where you installed your version of UltraEdit, there is a text file with the name 'wordfile.txt'. That one you will want to adapt. Open it, scroll to the end, insert a blank line and typ on the line beneath that blank line:
/L12"SPSS Syntax" SPSS_LANG Line Comment = -- File Extensions = SPS
This inserts the option SPSS syntax language to the list of languages. Inspect the 11 predefined languages (such as C++, Visual Basic, HTML etc) to find out how to declare the various language elements of SPSS.
Perhaps some one else on this list allready done this en fiels like sharing it with the rest.
I myself use ConTEXT which has a similar approach.
Just my half Euro,
Kees
> -----Oorspronkelijk bericht-----
> Van: SPSSX(r) Discussion [mailto:
[hidden email]]
> Namens Sebastián Daza Aranzaes
> Verzonden: woensdag 20 september 2006 5:29
> Aan:
[hidden email]
> Onderwerp: syntax editor
>
> dear list,
> somebody know how to configure ultraedit to write
> (highlighting file) and run syntax in spss?
> before i used textpad, but now I want to use the tools of the
> ultraedit.
> if somebody has a link or information, I will appreciate it.
>
> thanks all!
>
> --
>
> Sebastián Daza Aranzaes
> *Instituto de Sociología UC
> *8-471 53 87 / 686 57 20 / Fax 5521834
>
[hidden email] <mailto:
[hidden email]>
>