Syntax Highlighting for a set of numbers

Syntax highlighting, code folding, brace matching, code indenting, and function list

Syntax Highlighting for a set of numbers

Postby Lonley_Lonie » Tue Jun 13, 2006 9:03 am

Hello,

im new here and hope to find a resolution for this problem:

I want to highlight only a set of numbers in red:
for instant the line of numbers:
0419C00000000500000000033293011100000000000002001
and i want to highlight:
419C and 332930 automatically.

everybody may help me?

THX
LL
User avatar
Lonley_Lonie
Newbie
 
Posts: 2
Joined: Mon Jun 12, 2006 11:00 pm

Re: Syntax Highlighting for a set of numbers

Postby Mofi » Tue Jun 13, 2006 12:27 pm

UltraEdits' syntax highlighting highlights words.

0419C00000000500000000033293011100000000000002001 is 1 word as long as you do not specify for example the 0 character as delimiter.

/Delimiters = 0
/C1"Numbers"
33293
419C

You can not highlight 332930 because 0 is a delimiter and so 332930 is word "33293" and word "0". It's not possible to highlight only a part of a word. You could use a macro which inserts for example a space before and after every interesting number in the number stream for syntax highlighting.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4055
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Syntax Highlighting for a set of numbers

Postby Lonley_Lonie » Tue Jun 13, 2006 12:47 pm

thanks a lot!!!!
User avatar
Lonley_Lonie
Newbie
 
Posts: 2
Joined: Mon Jun 12, 2006 11:00 pm


Return to Syntax Highlighting