Hi, 

I have make this highlighter but keyword aren't colored. You know why ?

_CAVR.ini :_
[color=#0000ff]
;PSPad user HighLighter definition file
[Settings]
Name=CAVR
HTMLGroup=0
Label=1
FileType=c,h
CommentString=
SlashComment=1
CComment=1
SlashComment=1
Preprocessors=1
IndentChar=
UnIndentChar=
TabWidth=3
CaseSensitive=1
SingleQuote=1
DoubleQuote=1
KeyWordChars=_
CodeExplorer=ftCPP
[KeyWords]
abs acos AllumeCAN asin asm atan atan2 atoi atol auto bool break bsearch calloc
case catch ceil char class cmin compar const const_cast continue ConvertirDiff
ConvertirVoie ConvertirVoieVolt cos cosh default DELAY_C_ACCURATE
DELAY_I_ACCURATE DELAY_L_ACCURATE delay_ms delay_us delete div div_t do double
dtostre dtostrf dynamic_cast else enum EteintCAN exit exp explicit export extern
fabs false float floor fmod fn_t for free frexp friend ftoa goto if InitCAN
inline int inverse isalnum isalpha isascii isblank iscntrl isdigit isgraph isinf
islower isnan isprint ispunct isspace isupper isxdigit itoa labs
lcd_ChargeAccentsFrancais lcd_clrscr lcd_command lcd_data lcd_EcrisAuCentre
lcd_EcrisTexteLong lcd_gotoxy lcd_home lcd_init lcd_putc lcd_puts lcd_puts_p
lcd_puts_P lcd_Remplis ldexp ldiv ldiv_t log log10 long ltoa malloc memccpy
memchr memcmp memcpy memmove memset modf mutable namespace new operator pow
private protected public qsort rand rand_r random random_r register
reinterpret_cast return short signed sin sin=
h sizeof sqrt square srand srandom static static_cast strcasecmp strcat strchr
strcmp strcpy strlcat strlcpy strlen strlwr strncasecmp strncat strncmp strncpy
strnlen strrchr strrev strsep strstr strtod strtok_r strtol strtoul struct
strupr switch tan tanh template this throw toascii tolower toupper true try
typedef typeid typename uint8_t ultoa union unsigned using utoa virtual void
volatile wchar_t while lcd_AfficheAuCentre INTERRUPT SIGNAL ISR _BV=
[ReservedWords]
__abstract __box __delegate __event __finally __gc __hook __identifier
__interface __nogc __pin __property __sealed __try_cast __typeof __unhook
__value=
[KeyWords2]
ERRUPT1 SIG_INTERRUPT2 SIG_INTERRUPT3 SIG_INTERRUPT4 INTERRUPT5 SIG_INTERRUPT6
SIG_INTERRUPT7 SIG_OUTPUT_COMPARE0 SIG_OUTPUT_COMPARE1A SIG_OUTPUT_COMPARE1B
SIG_OUTPUT_COMPARE1C SIG_OUTPUT_COMPARE2 SIG_OUTPUT_COMPARE3A
SIG_OUTPUT_COMPARE3B SIG_OUTPUT_COMPARE3C SIG_OVERFLOW0 SIG_OVERFLOW1
SIG_OVERFLOW2 SIG_OVERFLOW3 SIG_PIN SIG_PIN_CHANGE0 SIG_PIN_CHANGE1 SIG_RDMAC
SIG_SPI SIG_SPM_READY SIG_SUSPEND_RESUME SIG_TDMAC SIG_UART0 SIG_UART0_DATA
SIG_UART0_RECV SIG_UART0_TRANS SIG_UART1 SIG_UART1_DATA SIG_UART1_RECV
SIG_UART1_TRANS SIG_UART_DATA SIG_UART_RECV SIG_UART_TRANS SIG_USART0_DATA
SIG_USART0_RECV SIG_USART0_TRANS SIG_USART1_DATA SIG_USART1_RECV
SIG_USART1_TRANS SIG_USB_HW=
LCD_DISP_LENGTH LCD_DISP_OFF LCD_DISP_ON LCD_DISP_ON_BLINK
LCD_DISP_ON_CURSOR_BLINK Alpha Teta Epsilon Infinit Micro Omega SigmaMin Rho
SigmaMaj Pi Racine XBarre Divise Degre FlecheDroite FlecheGauche Guillemet Carre
PointCentral DroiteGauche GaucheDroite AccentsFrancais CPUCLK SeparateurDecimal
ARef AVcc AVcc2 VRefExterne Div2 Div4 Div8 Div16 Div32 Div64 Div128 Libre
CompAna ITCAN TC0Comp TC0Dep TC1Comp TC1Dep TC1Evenement SIG_2WIRE_SERIAL
SIG_ADC SIG_COMPARATOR SIG_EEPROM_READY SIG_FPGA_INTERRUPT0 SIG_FPGA_INTERRUPT1
SIG_FPGA_INTERRUPT2 SIG_FPGA_INTERRUPT3 SIG_FPGA_INTERRUPT4 SIG_FPGA_INTERRUPT5
SIG_FPGA_INTERRUPT6 SIG_FPGA_INTERRUPT7 SIG_FPGA_INTERRUPT8 SIG_FPGA_INTERRUPT9
SIG_FPGA_INTERRUPT10 SIG_FPGA_INTERRUPT11 SIG_FPGA_INTERRUPT12
SIG_FPGA_INTERRUPT13 SIG_FPGA_INTERRUPT14 SIG_FPGA_INTERRUPT15
SIG_INPUT_CAPTURE1 SIG_INPUT_CAPTURE3 SIG_INTERRUPT0 SIG_INT=
[KeyWords3]
a addindex addtogroup anchor arg attention author b brief bug c callgraph
category class code copydoc date def defgroup deprecated dontinclude dot dotfile
e else elseif em endcode enddot endhtmlonly endif endlatexonly endlink
endmanonly endverbatim endxmlonly enum example exception f$ f[ f] file fn
hideinitializer htmlinclude htmlonly if ifnot image include includelineno
ingroup internal invariant interface latexonly li line link mainpage manonly n
name namespace nosubgrouping note overload p package page par paragraph param
param[in] param[out] param[in,out] post pre private privatesection property
protected protectedsection protocol public publicsection ref relates relatesalso
remarks return retval sa section see showinitializer since skip skipline struct
subsection subsubsection test throw todo typedef union until var verbatim
verbinclude version warning weakgroup xmlonly xrefitem $ @  & ~ #=
[/color]

-- 
<http://forum.pspad.com/read.php?6,31739,32399>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem