Search found 4 matches

by ryancw
Wed May 14, 2003 2:08 am
Forum: General
Topic: syntax highlighting for numbers?
Replies: 5
Views: 693

Whoa, now we're getting somewhere

Well, another silly mistake on my part was associating .icd files (that's what I am calling my files full of ICD-9 codes) with TextPad, and with the particular syntax highlighting, rather than *.icd. Fixed that. Then I set my *.syn files to have DOS encoding by default. Then I started from scratch ...
by ryancw
Wed May 14, 2003 1:51 am
Forum: General
Topic: syntax highlighting for numbers?
Replies: 5
Views: 693

syntax definition file for numbers not working

Well, just keep in mind that I know just enough about computers to be dangerous . . . I copied the suggested code, and then pasted it into a new TextPad file. When I went to save it, I left all the defaults in the dialogue box alone, and saved it as numbers.syn. So I guess that would be ANSI ...
by ryancw
Tue May 13, 2003 7:06 pm
Forum: General
Topic: syntax highlighting for numbers?
Replies: 5
Views: 693

Sounds easy enough, but when I try this, I get an error message: something to the effect of "invalid data in line 4 . . . of numbers.syn" The problematic line seems to be C=1. I don't understand that, since the HELP says specifically that C=1, or a variant, should be the first line of a syntax ...
by ryancw
Tue May 13, 2003 6:43 am
Forum: General
Topic: syntax highlighting for numbers?
Replies: 5
Views: 693

syntax highlighting for numbers?

Is there an easy way to highlight numbers in a different color? I have a file of ICD-9 codes (International Classification of Diseases): lots of text, most of the lines beginning with a 3-5 digit number (the ICD-9 code). The numbers range 001-999, with up to 2 decimal places. A minority of the ...