comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » NEDIT Language-Mode 2nd Try...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
NEDIT Language-Mode 2nd Try... [message #10757] Mon, 19 January 1998 00:00
alpha is currently offline  alpha
Messages: 49
Registered: September 1996
Member
Hello,

i got 3 Answers at my call for IDL-Language-Mode for NEDIT 5.0.
the forth sent me some code.

Ok, I got no sufficiant help: So here is my first version of it.
I looked into the other Modes and tried to learn something about
RE (there are books completly about RE)...

... and computed this:


# Preferences file for NEdit
#
nedit.highlightPatterns: C:Default\n\
NEdit Macro:Default\n\
IDL:1:0{\n\
comment:";":"$"::Comment::\n\
string:"(""|')":"(""|')":"\\n":String::\n\
numeric constant:"< ((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E) (\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)? >":::Numeric Const::D\n\
keyword:"< (pro|function|return|goto|if|then|endif|else|endelse|case|of |endcase|default|while|do|for|endfor|repeat|until|endrep|beg in|end) >":::Keyword::D\n\
braces:"[{}]":::Keyword::D\n\
operators:"<(mod|and|not|or|xor|eq|ge|gt|le|lt|ne)>":::Keyword::D\n\
idl commands:"<(print|tvscl|tv|window|wait|wdelete|xyouts)>":::Keyword::D\n\
}
nedit.languageModes: IDL:.pro::::::\n\

it does not work complete but other freaks may complete my work!

Greetings to the Coyote

from the Panther


--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "hyper" PS_FORM
Next Topic: Message for German Newsgroup Readers

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:00:11 PDT 2025

Total time taken to generate the page: 0.00478 seconds