Re: [scite] Problem to add new keywords to php

2007-07-18 Thread cokinou

I would like add another keyword (like into lua.properties) with added on
php.properties :
   keywords2.$(file.patterns.php)=function1 function2 function3
   style.php.13=fore:#FF,bold

But no effect on PHP code :(, i try to change the number style.php.xxx but
no effect :,(

I try also to change value of keywordclass.php into php.properties (for
example : keywordclass.php=function1) but no effect also :,(

I do not understand how configure the lexer.properties :-|


James Cuénod wrote:
> 
> What commands would you like to add? What have you done to modify the
> php.properties file?...
> 
> On 7/17/07, cokinou <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello
>>
>> I would like add new keywords to php configuration, but i have a problem
>> to
>> this.
>>
>> I try to modify php.properties from
>> http://www.scintilla.org/php.properties
>> but my modifications are not use :,(.
>> I try to change value of keywordclass.php into this same file but result
>> no
>> change :,(
>>
>> Could you help me ?
>>
>> Thank you (and sorry for my bad english :-|)
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-to-add-new-keywords-to-php-tf4097311.html#a11663841
Sent from the SciTE mailing list archive at Nabble.com.


___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] Problem to add new keywords to php

2007-07-18 Thread James Cuénod

Isn't it in html.properties?

On 7/18/07, cokinou <[EMAIL PROTECTED]> wrote:



I would like add another keyword (like into lua.properties) with added on
php.properties :
   keywords2.$(file.patterns.php)=function1 function2 function3
   style.php.13=fore:#FF,bold

But no effect on PHP code :(, i try to change the number style.php.xxx but
no effect :,(

I try also to change value of keywordclass.php into php.properties (for
example : keywordclass.php=function1) but no effect also :,(

I do not understand how configure the lexer.properties :-|


James Cuénod wrote:
>
> What commands would you like to add? What have you done to modify the
> php.properties file?...
>
> On 7/17/07, cokinou <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello
>>
>> I would like add new keywords to php configuration, but i have a
problem
>> to
>> this.
>>
>> I try to modify php.properties from
>> http://www.scintilla.org/php.properties
>> but my modifications are not use :,(.
>> I try to change value of keywordclass.php into this same file but
result
>> no
>> change :,(
>>
>> Could you help me ?
>>
>> Thank you (and sorry for my bad english :-|)
>

--
View this message in context:
http://www.nabble.com/Problem-to-add-new-keywords-to-php-tf4097311.html#a11663841
Sent from the SciTE mailing list archive at Nabble.com.


___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest





--
Now go, and may the [open] source be with you
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] Problem to add new keywords to php

2007-07-18 Thread Neil Hodgson

cokinou:


I would like add another keyword (like into lua.properties) with added on
php.properties :
   keywords2.$(file.patterns.php)=function1 function2 function3
   style.php.13=fore:#FF,bold

But no effect on PHP code :(, i try to change the number style.php.xxx but
no effect :,(


  The "php" lexer isn't supported any more although it is still
present. It was always mostly just another way to access the
"hypertext" lexer which is set up in html.properties. The "hypertext"
lexer handles HTML and XML, including embedded PHP. Because it is
handling HTML, PHP, ASP, and client-side JavaScript, it has to
cooperate with these languages in assigning keyword lists. Keyword
list 2 is used for JavaScript keywords. Only one keyword list is
allocated to PHP (and there is only one keyword style) so you should
append your keywords to the list of PHP keywords in your
php.properties.

  Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest