Hi,

To change (php specific) style options, open the html.properties file,
and find the following part:
------
# PHP
# Default
style.hypertext.118=fore:#000033,back:#FFF8F8,eolfilled
# Double quoted String
style.hypertext.119=fore:#007F00,back:#FFF8F8
# Single quoted string
style.hypertext.120=fore:#009F00,back:#FFF8F8
# Keyword
style.hypertext.121=fore:#7F007F,italics,back:#FFF8F8
# Number
style.hypertext.122=fore:#CC9900,back:#FFF8F8
# Variable
style.hypertext.123=fore:#00007F,italics,back:#FFF8F8
# Comment
style.hypertext.124=fore:#999999,$(font.comment),back:#FFF8F8
# One line comment
style.hypertext.125=fore:#666666,italics,$(font.comment),back:#FFF8F8
# PHP variable in double quoted string
style.hypertext.126=fore:#00007F,italics,back:#FFF8F8
# PHP operator
style.hypertext.127=fore:#000000,back:#FFF8F8
--------

To use Ctrl+B to activate auto abberviation, you have to setup a
shortcut to the function in lua. Just insert the following code in
your php.properties file:
#---------
# 30 Shortcut to trigger auto abbreviation
command.name.30.$(file.patterns.php)=Auto-Abbreviation
command.subsystem.30.$(file.patterns.php)=3
command.30.$(file.patterns.php)=Abbreviations
command.shortcut.30.$(file.patterns.php)=Ctrl+B
command.mode.30.$(file.patterns.php)=savebefore:no
#--------

If you want 'ä' to work as an Abbreviation, you'll have to include
that in the abbrev.properties file as:
--------------
ä=ä|
--------------
where | is the cursor position after the completion of insertion.
You can add any number of such abbreviations in that file.

If possible, you can include a snip of what you consider as very
useful such shortcuts. I'll include them in the next version.

I'm update the shortcut key change in my copy and upload it now.

Warm Regards,
Thangaraj



On 12/16/05, Frank Wunderlich <[EMAIL PROTECTED]> wrote:
> hi,
> i don't like the style override (changing bg-color of <?php and ?>), how
> to disable?
> the auto-abbreviation did not work in my tests...ctrl+B works, so my
> abbreviations.properties must be correct. i read in the lua-script that
> space activates the auto-abbreviation...if i type ä (german special
> char) and then space in a php-file nothing happens. if i type this char
> and ctrl+b it will be replaced correctly by &auml;
> can you make this working (maybe working without space)?
>
> Greetings Frank
> _______________________________________________
> Scite-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scite-interest
>


--
Visit www.bootcd.us!

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to