![]()  | 
 
coloring decimal and hexadecimal numbers | 
 
    Post Reply  
   | 
  
| Author | |
   
   contarra  
   
   Newbie  
   Joined: 24 September 2009 Status: Offline Points: 1  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: coloring decimal and hexadecimal numbersPosted: 24 September 2009 at 5:48pm  | 
 
| 
   
    
   Hi there, I'm new to Syntax Edit, I looked for documentation and analysed examples without success. 
   
  Is there anybody who can tell me how to formalize decimal and hexadecimal numbers in '.schclass' files. Thanks in advance.  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 25 September 2009 at 4:46pm | 
 
| 
   
    E.g. this 
// @alpha = a-z, A-Z 
// @digit = 0-9 // @HexDdigit = 0-9, a-f, A-F lexClass: 
   name = c_VBScriptNumber10 parent = c_VBScriptBlock1, c_VBScriptBlock2 ParseOnScreen = 1 previous:tag = @specs, ' ', '\t', @EOL start:Tag = @digit end:separators = @digit:not txt:colorFG = 0x008284 DisplayName = 'VB Script Number)' //:lexClass  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |