Hi,
die Seite Solarized for Gedit war eine von vielen die ich gefunden hatte, bei allen Seiten wurde geschrieben "einfach die *.xml nach ~/.local/share/gedit/styles kopieren" oder für eine *.lang "einfach die *.lang nach ~/.local/share/gtksourceview-3.0/ kopieren", was reproduzierbar hier nicht funktioniert. Auch ein Versuch Solarized for Gedit zu installieren funktionierte nicht, der Installer kopiert die Dateien an die richtigen Stellen welche nicht von gedit erkannt werden.
Mittlerweile funktioniert es über einen Umweg, der da ist:
Zusätzliche Plugins für gedit wurden installiert, sudo apt-get install gedit-plugins
die Plugins "Externe Werkzeuge" und "Editor für Farbschema" für gedit wurden ausgewählt
ein leeres Farbschema picaxe.xml wurde mit dem gedit Editor für Farbschema erstellt
die vom gedit Editor für Farbschema erstellte picaxe.xml wurde durch meine picaxe.xml ersetzt
O.K. es funktioniert nun, aber nicht so wie es überall beschrieben wird.
Wo ist der Unterschied beim erstellen einer *.xml mit dem gedit Editor für Farbschema, die Datei hat den gleiche Inhalt und die gleichen Rechte wie meine Datei?
Die Ausgabe von ls -al ~/.local/share/gedit/styles/*
drwxrwxr-x 2 hermann hermann 4096 Dez 8 11:39 .
drwxrwxr-x 3 hermann hermann 4096 Dez 8 16:07 ..
-rw-rw-r-- 1 hermann hermann 4813 Dez 8 11:39 picaxe.xml
Es sind 2 Dateien,
die Schlüsselwörter:
<?xml version="1.0" encoding="UTF-8"?>
<language id="picaxe" _name="PICAXE" version="2.0" _section="Sources">
<metadata>
<property name="mimetypes">text/x-picaxe</property>
<property name="globs">*.axe;*.AXE;*.bas;*.BAS</property>
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="picaxe:comment"/> <!-- blau -->
<style id="string" _name="String" map-to="picaxe:string"/> <!-- rosa -->
<style id="command" _name="Command" map-to="picaxe:command"/> <!-- braun -->
<style id="directive" _name="Directive" map-to="picaxe:directive"/> <!-- orange -->
<style id="intnumber" _name="Integer Number" map-to="picaxe:intnumber"/> <!-- rot -->
<style id="hexnumber" _name="Hexadecimal Number" map-to="picaxe:hexnumber"/> <!-- grau -->
<style id="binnumber" _name="Binary Number" map-to="picaxe:binnumber"/> <!-- dunkelgrau -->
<style id="constant" _name="Constant" map-to="picaxe:constant"/> <!-- fett lila -->
<style id="variable" _name="Variable" map-to="picaxe:variable"/> <!-- fett dunkelgrün -->
<style id="pvariable" _name="PICAXE Variable" map-to="picaxe:pvariable"/> <!-- fett grün -->
<style id="multitask" _name="Multitask" map-to="picaxe:multitask"/> <!-- fett orange -->
<style id="unbekannt" _name="noch unbekannt" map-to="def:error"/> <!-- rot hinterlegt -->
</styles>
<default-regex-options case-sensitive="false"/>
<definitions>
<context id="Line-Comments-1" style-ref="comment" end-at-line-end="true">
<start>'</start>
<include>
<context ref="def:in-line-comment"/>
</include>
</context>
<context id="Line-Comments-2" style-ref="comment" end-at-line-end="true">
<start>;</start>
<include>
<context ref="def:in-line-comment"/>
</include>
</context>
<context id="Line-Comments-3" style-ref="comment" end-at-line-end="true">
<start>rem</start>
<include>
<context ref="def:in-line-comment"/>
</include>
</context>
<context id="Block-Comments" style-ref="comment">
<start>\#rem</start>
<end>\#endrem</end>
<include>
<context ref="def:in-line-comment"/>
</include>
</context>
<context id="Strings" style-ref="string">
<start>[uUrR]?"</start>
<end>"</end>
</context>
<context id="IntNumbers" style-ref="intnumber">
<match extended="true">
(?<![^\s])
([0-9.]+ | [0-9]+[.]?[0-9]*[eE][0-9]*)
(?![^\s])
</match>
</context>
<context id="HexNumbers" style-ref="hexnumber">
<match extended="true">
(?<![^\s])
([$][-+]?[A-F0-9.]+)
(?![^\s])
</match>
</context>
<context id="BinNumbers" style-ref="binnumber">
<match extended="true">
(?<![^\s])
([%][-+]?[0-1.]+)
(?![^\s])
</match>
</context>
<context id="Digital-Input-Output" style-ref="command">
<keyword>high</keyword> <!-- Switch an output pin on -->
<keyword>low</keyword> <!-- Switch an output pin off -->
<keyword>toggle</keyword> <!-- Change an output pin between on and off -->
<keyword>backward</keyword> <!-- Drive a motor backwards -->
<keyword>forward</keyword> <!-- Drive a motor forwards -->
<keyword>halt</keyword> <!-- Halt a motor -->
<keyword>sound</keyword> <!-- Generate simple sounds -->
<keyword>play</keyword> <!-- Play a pre-defined musical tune -->
<keyword>tune</keyword> <!-- Play a sequence of musical notes -->
<keyword>servo</keyword> <!-- Control a servo -->
<keyword>servopos</keyword> <!-- Set the position of a servo -->
<keyword>irin</keyword> <!-- Receive an infra-red command -->
<keyword>irout</keyword> <!-- Generate an infra-red command -->
<keyword>rfin</keyword> <!-- Receive data from an RF receiver module -->
<keyword>rfout</keyword> <!-- Send data to an RF transmitter module -->
<keyword>pwmout</keyword> <!-- Generate a continuous PWM signal -->
<keyword>pwmduty</keyword> <!-- Set the duty ratio of a PWM signal -->
<keyword>pwmdiv4</keyword> <!-- Set the frequency to 4 at pwmout -->
<keyword>pwmdiv16</keyword> <!-- Set the frequency to 16 at pwmout -->
<keyword>pwmdiv64</keyword> <!-- Set the frequency to 64 at pwmout -->
<keyword>hpwmout</keyword> <!-- -->
<keyword>pin</keyword> <!-- with if Respond to the state of an input signal -->
<keyword>count</keyword> <!-- Count pulses detected on an input pin -->
<keyword>pulsin</keyword> <!-- Measure the length of a pulse on an input pin -->
<keyword>pulsout</keyword> <!-- Generate a pulse on an output pin -->
<keyword>input</keyword> <!-- Set a pin for receiving input -->
<keyword>output</keyword> <!-- Set a pin to produce an output signal -->
<keyword>reverse</keyword> <!-- Toggle a pin between input and output use -->
<keyword>pullup</keyword> <!-- Set internal pull-ups for input pins -->
<keyword>inputtype</keyword> <!-- Select the electrical characteristics of an input pin -->
<keyword>infrain</keyword> <!-- Receive an infra-red command -->
<keyword>infrain2</keyword> <!-- Receive an infra-red command -->
<keyword>infraout</keyword> <!-- Generate an infra-red command -->
<keyword>pwm</keyword> <!-- Generate a PWM output signal -->
<keyword>switch</keyword> <!-- Switch an output on or off -->
<keyword>on</keyword> <!-- Switch on in connection with any other command -->
<keyword>off</keyword> <!-- Switch off in connection with any other command -->
<keyword>button</keyword> <!-- Detect and debounce a button push -->
<keyword>porta</keyword> <!-- with high/low output Port A switch on/off -->
<keyword>portb</keyword> <!-- with high/low output Port B switch on/off -->
<keyword>portc</keyword> <!-- with high/low output Port C switch on/off -->
<keyword>portd</keyword> <!-- with high/low output Port D switch on/off -->
<keyword>readoutputs</keyword> <!-- Determine previously set output levels -->
<keyword>readportc</keyword> <!-- Read Port C inputs -->
<keyword>switchoff</keyword> <!-- Make pin output low -->
<keyword>switchon</keyword> <!-- Make pin output high -->
</context>
<context id="Analogue-Input-Output" style-ref="command">
<keyword>touch</keyword> <!-- Read a touch sensor status -->
<keyword>touch16</keyword> <!-- Read a touch sensor signal level -->
<keyword>readadc</keyword> <!-- Read an analogue input -->
<keyword>readadc10</keyword> <!-- Read a high-resolution analogue input -->
<keyword>readtemp</keyword> <!-- Read a DS18B20 temperature sensor -->
<keyword>readtemp12</keyword> <!-- Read a DS18B20 temperature sensor to 0.625C accuracy -->
<keyword>daclevel</keyword> <!-- Set an analogue output level -->
<keyword>dacsetup</keyword> <!-- Configure analogue output -->
<keyword>readdac</keyword> <!-- Read the analogue output -->
<keyword>readdac10</keyword> <!-- Read the analogue output using highest resolution -->
</context>
<context id="Time-Delays" style-ref="command">
<keyword>pause</keyword> <!-- Delay for a number of milliseconds -->
<keyword>pauseus</keyword> <!-- Delay for a number of microseconds -->
<keyword>nap</keyword> <!-- Sleep for a short period of time -->
<keyword>sleep</keyword> <!-- Sleep for a period of time -->
<keyword>doze</keyword> <!-- Reduce power consumption for a short period of time -->
<keyword>hibernate</keyword> <!-- Reduce power consumption for a period of time -->
<keyword>wait</keyword> <!-- Delay for a number of seconds -->
<keyword>time</keyword> <!-- Use the elapsed time counter -->
</context>
<context id="Program-Flow-Control" style-ref="command">
<keyword>goto</keyword> <!-- Continue program execution from a named label -->
<keyword>gosub</keyword> <!-- Call a subroutine -->
<keyword>branch</keyword> <!-- Branch to one of a number of named labels -->
<keyword>for</keyword> <!-- Repeat a loop a certain number of times -->
<keyword>to</keyword> <!-- Let the for next loop run forward -->
<keyword>downto</keyword> <!-- Let the for next loop run backwards -->
<keyword>step</keyword> <!-- Wide leaps for the for next loop -->
<keyword>next</keyword> <!-- Indicate the end of a 'for' command loop -->
<keyword>do</keyword> <!-- Repeat a loop until a certain condition is met -->
<keyword>loop</keyword> <!-- Indicate the end of a 'do' command loop -->
<keyword>if</keyword> <!-- Conditionally execute program code -->
<keyword>elseif</keyword> <!-- Alternative code execution for an 'if' command -->
<keyword>else</keyword> <!-- Alternative code execution for an 'if' command -->
<keyword>endif</keyword> <!-- Indicate the end of an 'if' command -->
<keyword>select</keyword> <!-- Select which section of program code to execute -->
<keyword>case</keyword> <!-- Define a section of program code for a 'select' command -->
<keyword>endselect</keyword> <!-- Indicate the end of a 'select' command -->
<keyword>return</keyword> <!-- Return from a subroutine -->
<keyword>end</keyword> <!-- Terminate program execution -->
<keyword>reset</keyword> <!-- Reset the PICAXE and restart program execution -->
<keyword>stop</keyword> <!-- Stop the program code from continuing -->
<keyword>on</keyword> <!-- With goto/gosub Continue/Select -->
<keyword>then</keyword> <!-- Command to be executed or not -->
<keyword>bit</keyword> <!-- With if Conditionally execute code depending on a variable bit setting -->
<keyword>exit</keyword> <!-- Exit from a 'do' or 'for' command loop -->
<keyword>while</keyword> <!-- Exit from a 'do' command loop -->
<keyword>until</keyword> <!-- Exit from a 'do' command loop -->
</context>
<context id="Interrupts-and-Multi-Tasking" style-ref="multitask">
<keyword>setint</keyword> <!-- Set the input conditions which cause an interrupt -->
<keyword>setintflags</keyword> <!-- Specify the events which cause an interrupt -->
<keyword>restart</keyword> <!-- Restart a program task -->
<keyword>resume</keyword> <!-- Resume executing a suspended program task -->
<keyword>suspend</keyword> <!-- Suspend a program task -->
<keyword>start[0-7]</keyword> <!-- A procedure which runs in parallel mode -->
</context>
<context id="PICAXE-Variables" style-ref="pvariable">
<keyword>symbol</keyword> <!-- Give a name to a variable or number value -->
<keyword>let</keyword> <!-- Perform a mathematical operation -->
<keyword>inc</keyword> <!-- Increment a variable's value by one -->
<keyword>dec</keyword> <!-- Decrement a variable's value by one -->
<keyword>swap</keyword> <!-- Swap the values of two variables between each other -->
<keyword>bcdtoascii</keyword> <!-- Convert a BCD value to its ASCII (text) representation -->
<keyword>bintoascii</keyword> <!-- Convert a numeric value to its ASCII (text) representation -->
<keyword>lookdown</keyword> <!-- Find an item in a list of values -->
<keyword>lookup</keyword> <!-- Select an item value from a list -->
<keyword>random</keyword> <!-- Set a variable to a random value -->
<keyword>clearbit</keyword> <!-- Clear a bit within a variable -->
<keyword>setbit</keyword> <!-- Set a bit within a variable -->
<keyword>togglebit</keyword> <!-- Invert a bit within a variable -->
<keyword>peek</keyword> <!-- Get a value from PICAXE memory -->
<keyword>poke</keyword> <!-- Set a value in PICAXE memory -->
<keyword>get</keyword> <!-- Get a value from scratchpad memory -->
<keyword>put</keyword> <!-- Set a value in scratchpad memory -->
<keyword>read</keyword> <!-- Read a value from internal data EEPROM -->
<keyword>write</keyword> <!-- Set a value in internal data EEPROM -->
<keyword>eeprom</keyword> <!-- Specify values to be loaded to internal data EEPROM -->
<keyword>readtable</keyword> <!-- Get a value from the data table -->
<keyword>table</keyword> <!-- Specify values for the data table -->
<keyword>tablecopy</keyword> <!-- Copy data table values into variables -->
</context>
<context id="Serial-RS232-Interfacing" style-ref="command">
<keyword>debug</keyword> <!-- Update the debug display screen -->
<keyword>sertxd</keyword> <!-- Send serial data out through the Serial Out pin -->
<keyword>serrxd</keyword> <!-- Receive serial data through the Serial In pin -->
<keyword>serin</keyword> <!-- Receive serial data through an input pin -->
<keyword>serout</keyword> <!-- Send serial data out through an output pin -->
<keyword>hserin</keyword> <!-- Receive serial data through the High-Speed Serial In pin -->
<keyword>hserout</keyword> <!-- Send serial data out through the High-Speed Serial Out pin -->
<keyword>hsersetup</keyword> <!-- Configure the High-Speed Serial interface -->
</context>
<context id="Advanced-Input-Output-Interfacing" style-ref="command">
<keyword>hi2cin</keyword> <!-- Read data from an I2C device -->
<keyword>hi2cout</keyword> <!-- Write data to an I2C device -->
<keyword>hi2csetup</keyword> <!-- Configure the I2C mode and the I2C bus -->
<keyword>kbin</keyword> <!-- Read key press data from a PS/2 keyboard -->
<keyword>kbled</keyword> <!-- Control the LEDs on a PS/2 keyboard -->
<keyword>owin</keyword> <!-- Read data from a 1-wire device -->
<keyword>owout</keyword> <!-- Write data to a 1-wire device -->
<keyword>readowsn</keyword> <!-- Read the serial number of a 1-wire device -->
<keyword>hspiin</keyword> <!-- Read data using the High-Speed SPI interface -->
<keyword>hshin</keyword> <!-- Read data using the High-Speed SPI interface -->
<keyword>shin</keyword> <!-- -->
<keyword>hspiout</keyword> <!-- Write data using the High-Speed SPI interface -->
<keyword>hshout</keyword> <!-- Write data using the High-Speed SPI interface -->
<keyword>shout</keyword> <!-- -->
<keyword>hspisetup</keyword> <!-- Configure the High-Speed SPI interface -->
<keyword>shiftin</keyword> <!-- Read data from an SPI device -->
<keyword>spiin</keyword> <!-- Read data from an SPI device -->
<keyword>shiftout</keyword> <!-- Write data to an SPI device -->
<keyword>spiout</keyword> <!-- Write data to an SPI device -->
<keyword>srlatch</keyword> <!-- Configure the hardware SR Latch -->
<keyword>srreset</keyword> <!-- Reset the hardware SR Latch -->
<keyword>srset</keyword> <!-- Set the hardware SR Latch -->
<keyword>uniin</keyword> <!-- Read data from a UNI/O device -->
<keyword>uniout</keyword> <!-- Write data to a UNI/O device -->
<keyword>hpwm</keyword> <!-- Generate PWM output signals -->
<keyword>hpwmduty</keyword> <!-- Set the duty ratio of HPWM generated signals -->
<keyword>keyin</keyword> <!-- Read key press data from a PS/2 keyboard -->
<keyword>keyled</keyword> <!-- Control the LEDs on a PS/2 keyboard -->
<keyword>i2cslave</keyword> <!-- Configure the I2C bus -->
<keyword>i2cmaster</keyword> <!-- -->
<keyword>booti2c</keyword> <!-- update the internal program by copying a new program from an external i2c EEPROM -->
<keyword>readi2c</keyword> <!-- Read data from an I2C device -->
<keyword>i2cread</keyword> <!-- Read data from an I2C device -->
<keyword>writei2c</keyword> <!-- Write data to an I2C device -->
<keyword>i2cwrite</keyword> <!-- Write data to an I2C device -->
<keyword>ultra</keyword> <!-- Measure distance with SRF005 ultrasonic sensor -->
<keyword>readowclk</keyword> <!-- Read seconds from a DS2415 clock chip -->
<keyword>resetowclk</keyword> <!-- Reset seconds count to 0 on a DS2415 clock chip -->
<keyword>readmem</keyword> <!-- Read FLASH program memory byte data into variable -->
<keyword>writemem</keyword> <!-- Write FLASH program memory byte data into location -->
</context>
<context id="Advanced-Configuration" style-ref="command">
<keyword>peeksfr</keyword> <!-- Read data from an internal control register -->
<keyword>pokesfr</keyword> <!-- Write data to an internal control register -->
<keyword>calibfreq</keyword> <!-- Adjust the operating speed of the PICAXE -->
<keyword>setfreq</keyword> <!-- Set the operating speed of the PICAXE -->
<keyword>disablebod</keyword> <!-- Enable low-voltage operation -->
<keyword>enablebod</keyword> <!-- Disable low-voltage operation -->
<keyword>readinternaltemp</keyword> <!-- Read the internal temperature sensor -->
<keyword>readfirmware</keyword> <!-- Obtain PICAXE firmware information -->
<keyword>readrevision</keyword> <!-- Obtain the #revision details for a program slot -->
<keyword>readsilicon</keyword> <!-- Obtain information on the PICAXE chip type -->
<keyword>adcconfig</keyword> <!-- Configure analogue input operation -->
<keyword>adcsetup</keyword> <!-- Configure analogue input channels -->
<keyword>calibadc</keyword> <!-- Read the internal voltage reference value -->
<keyword>calibadc10</keyword> <!-- Read the internal voltage reference value with highest resolution -->
<keyword>compsetup</keyword> <!-- Configure analogue comparators -->
<keyword>fvrsetup</keyword> <!-- Configure the on-chip voltage reference -->
<keyword>disconnect</keyword> <!-- Prevent the PICAXE accepting program downloads -->
<keyword>reconnect</keyword> <!-- Enable the PICAXE to accept program downloads -->
<keyword>hintsetup</keyword> <!-- Configure hardware interrupt input pins -->
<keyword>disabletime</keyword> <!-- Prevent the elapsed time variable incrementing -->
<keyword>enabletime</keyword> <!-- Enable the elapsed time variable to increment -->
<keyword>settimer</keyword> <!-- Configure the internal timer -->
<keyword>tmr3setup</keyword> <!-- Configure internal Timer 3 -->
<keyword>booti2c</keyword> <!-- Copy external program slot to internal program memory -->
<keyword>run</keyword> <!-- Run the program in another program slot -->
<keyword>pop</keyword> <!-- Pop a byte from the stack -->
<keyword>popram</keyword> <!-- Pop variables from the RAM stack -->
<keyword>push</keyword> <!-- Push a byte to the stack -->
<keyword>pushram</keyword> <!-- Push variables to the RAM stack -->
</context>
<context id="Directives" style-ref="directive">
<start>\#picaxe|\#revision|\#region|\#endregion|\#include|\#terminal|\#preprocessor|\#com|\#slot|
|\#error|\#freq|\#undefine|\#define|\#endmacro|\#gosubs|\#endif|\#else|\#ifndef|\#ifdef|\#if|\#macro|
|\#no_data|\#no_debug|\#no_end|\#no_table|\#rem|\#endrem|\#simspeed|\#simtask|\#sim</start>
<end></end>
<!--
#com Set the serial/USB COM port for downloading.
#define Define a name to control conditional compilation
#else Alternative program code include for #ifdef and #ifndef directives
#endif Terminate #ifdef and #ifndef commands
#endmacro End a macro
#endregion End a region
#endrem Terminate a previous #rem directive
#error Force a compilation error to be produced
#freq Specify the current operating speed of the PICAXE being downloaded into
#gosubs Specify the number of GOSUBs allowed
#if Only include program code if a #define value is defined
#ifdef Only include program code if a #define name is defined
#ifndef Only include program code if a #define name is not defined
#include Include program code from another source file
#macro Define a macro
#no_data Do not download data EEPROM values
#no_debug Disable debug commands in a program
#no_end Do not include a terminating 'end' command
#no_table Do not download data table values
#picaxe Specify the PICAXE the program code is for
#region Define a code region
#rem Treat subsequent program lines as comments
#revision Specify the revision number in a program slot
#sim Specify simulation model to use
#simspeed Set speed of simulation
#simtask Specify program task to simulate
#slot Specify the program slot the program code will be downloaded into
#terminal Set Terminal display baud rate
#undefine Remove a name previously created with #define
#preprocessor [Pre-processor substitution constants]
-->
</context>
<context id="Mathematical-Functions" style-ref="variable">
<keyword>max</keyword> <!-- limit value to a maximum value -->
<keyword>min</keyword> <!-- limit value to a minimum value -->
<keyword>and</keyword> <!-- (or &) bitwise AND -->
<keyword>or</keyword> <!-- (or |) bitwise OR (typed as SHIFT + \ on UK keyboard) -->
<keyword>xor</keyword> <!-- bitwise XOR (typed as SHIFT + 6 on UK keyboard) -->
<keyword>nand</keyword> <!-- bitwise NAND -->
<keyword>nor</keyword> <!-- bitwise NOR -->
<keyword>andnot</keyword> <!-- (or &/) bitwise AND NOT (NB this is not the same as NAND) -->
<keyword>ornot</keyword> <!-- (or |/) bitwise OR NOT (NB this is not the same as NOR) -->
<keyword>xnor</keyword> <!-- (or ^/) bitwise XOR NOT (same as XNOR) -->
<keyword>xornot</keyword> <!-- bitwise XOR NOT (same as XNOR) -->
<keyword>not</keyword> <!-- inverts a value -->
<keyword>sin</keyword> <!-- sine of angle (0 to 65535) in degrees (value * 100 is returned) -->
<keyword>cos</keyword> <!-- cosine of angle in degrees (value * 100 is returned) -->
<keyword>sqr</keyword> <!-- square root -->
<keyword>inv</keyword> <!-- invert -->
<keyword>ncd</keyword> <!-- encoder (2n power encoder) -->
<keyword>dcd</keyword> <!-- decoder (2n power decoder) -->
<keyword>bintobcd</keyword> <!-- convert binary value to BCD -->
<keyword>bcdtobin</keyword> <!-- convert BCD value to binary -->
<keyword>rev</keyword> <!-- reverse a number of bits -->
<keyword>dig</keyword> <!-- return a BCD digit -->
<keyword>nob</keyword> <!-- count number of set bits (X2 only) -->
<keyword>atan</keyword> <!-- calculate the arctan of a value (result 0-45 degrees) (X2 only) -->
<!-- (+) add -->
<!-- (-) subtract -->
<!-- (*) multiply (returns low word of result) -->
<!-- (**) multiply (returns high word of result) -->
<!-- (*/) multiply (returns middle word of result) -->
<!-- (/) divide (returns quotient) -->
<!-- (//) (or %) modulus divide (returns remainder) -->
<!-- (<<) shift left -->
<!-- (>>) shift right -->
</context>
<context id="Variables" style-ref="variable">
<keyword>b[0-9]|b1[0-9]|b2[0-9]|b3[0-9]|b4[0-9]|b5[0-5]</keyword>
<keyword>bit[0-9]|bit1[0-9]|bit2[0-9]|bit3[0-1]</keyword>
<keyword>bptr|bptr[0-7]|bptrdec|bptrinc</keyword>
<keyword>compflag|compvalue</keyword>
<keyword>dir[0-7]|dira.[0-7]|dirb.[0-7]|dirc.[0-7]|dird.[0-7]|dirs|dirs[a-d]</keyword>
<keyword>flag[0-9]|flag1[0-5]|flags|flagsh|flagsl</keyword>
<keyword>hi2cflag|hi2clast</keyword>
<keyword>hintflag|hint0flag|hint1flag|hint2flag</keyword>
<keyword>hserflag|hserinflag|hserinptr|hserptr</keyword>
<keyword>infra</keyword>
<keyword>input[0-7]</keyword>
<keyword>keyvalue</keyword>
<keyword>outpin[0-7]|outpina.[07]|outpinb.[07]|outpinc.[07]|outpind.[07]|outpins|outpins[a-d]</keyword>
<keyword>pin[0-7]|pina.[0-7]|pinb.[0-7]|pinc.[0-7]|pind.[0-7]|pins|pins[a-d]</keyword>
<keyword>port</keyword>
<keyword>ptr|ptr[0-9]|ptr1[0-5]|ptrh|ptrl|ptrdec|ptrinc</keyword>
<keyword>s_w[0-7]</keyword>
<keyword>task</keyword>
<keyword>timer|timer3</keyword>
<keyword>toflag</keyword>
<keyword>trisc</keyword>
<keyword>w[0-9]|w1[0-9]|w2[0-7]</keyword>
</context>
<context id="Constants" style-ref="constant">
<keyword>cls|cr|lf</keyword>
<keyword>a.[0-7]|b.[0-7]|c.[0-7]|d.[0-7]</keyword>
<keyword>b300_4|b300_8|b300_16|b300_20|b300_32|b300_40|b300_64</keyword>
<keyword>b600_4|b600_8|b600_16|b600_20|b600_32|b600_40|b600_64</keyword>
<keyword>b1200_4|b1200_8|b1200_16|b1200_20|b1200_32|b1200_40|b1200_64</keyword>
<keyword>b2400_4|b2400_8|b2400_16|b2400_20|b2400_32|b2400_40|b2400_64</keyword>
<keyword>b4800_4|b4800_8|b4800_16|b4800_20|b4800_32|b4800_40|b4800_64</keyword>
<keyword>b9600_4|b9600_8|b9600_16|b9600_20|b9600_32|b9600_40|b9600_64</keyword>
<keyword>b14400_4|b14400_8|b14400_16|b14400_20|b14400_32|b14400_40|b14400_64</keyword>
<keyword>b19200_4|b19200_8|b19200_16|b19200_20|b19200_32|b19200_40|b19200_64</keyword>
<keyword>b28800_4|b28800_8|b28800_16|b28800_20|b28800_32|b28800_40|b28800_64</keyword>
<keyword>b31250_4|b31250_8|b31250_16|b31250_20|b31250_32|b31250_40|b31250_64</keyword>
<keyword>b38400_4|b38400_8|b38400_16|b38400_20|b38400_32|b38400_40|b38400_64</keyword>
<keyword>b57600_4|b57600_8|b57600_16|b57600_20|b57600_32|b57600_40|b57600_64</keyword>
<keyword>b76800_4|b76800_8|b76800_16|b76800_20|b76800_32|b76800_40|b76800_64</keyword>
<keyword>b115200_4|b115200_8|b115200_16|b115200_20|b115200_32|b115200_40|b115200_64</keyword>
<keyword>em4|em8|em16|em20|em32|em40|em64</keyword>
<keyword>fvr1024|fvr2048|fvr4096</keyword>
<keyword>i2cbyte|i2cword</keyword>
<keyword>i2cfast|i2cfast4|i2cfast8|i2cfast16|i2cfast20|i2cfast32|>i2cfast40|i2cfast64</keyword>
<keyword>i2cfast_4|i2cfast_8|i2cfast_16|i2cfast_20|i2cfast_32|i2cfast_40|i2cfast_64</keyword>
<keyword>i2cslow|i2cslow4|i2cslow8|i2cslow16|i2cslow20|i2cslow32|i2cslow40|i2cslow64</keyword>
<keyword>i2cslow_4|i2cslow_8|i2cslow_16|i2cslow_20|i2cslow_32|i2cslow_40|i2cslow_64</keyword>
<keyword>it_raw_h|it_raw_l|it_5v0|it_4v5|it_3v5|it_4v0|it_3v3|it_3v0</keyword>
<keyword>k31|k62|k125|k250|k500</keyword>
<keyword>lsbfirst|lsbfirst_h|lsbfirst_l</keyword>
<keyword>lsbpost|lsbpost_h|lsbpost_l</keyword>
<keyword>lsbpre|lsbpre_h|lsbpre_l</keyword>
<keyword>msbfirst|msbfirst_h|msbfirst_l</keyword>
<keyword>msbpost|msbpost_h|msbpost_l</keyword>
<keyword>msbpre|msbpre_h|msbpre_l</keyword>
<keyword>m1|m2|m4|m8|m16|m32|m64</keyword>
<keyword>n300|n300_4</keyword>
<keyword>n600|n600_4|n600_8</keyword>
<keyword>n1200|n1200_4|n1200_8</keyword>
<keyword>n2400|n2400_4|n2400_8|n2400_16</keyword>
<keyword>n4800|n4800_4|n4800_8|n4800_16|n4800_32</keyword>
<keyword>n9600|n9600_8|n9600_16|n9600_32|n9600_64</keyword>
<keyword>n19200|n19200_16|n19200_32|n19200_64</keyword>
<keyword>n38400|n38400_32|n38400_64</keyword>
<keyword>n76800|n76800_64</keyword>
<keyword>output[0-7]</keyword>
<keyword>ownoreset|owresetafter|owresetbefore|owresetboth|owresetfirst</keyword>
<keyword>ownoreset_bit|owresetafter_bit|owresetbefore_bit|owresetboth_bit|owresetfirst_bit</keyword>
<keyword>pwmfull_f|pwmfull_r|pwmhalf|pwmsingle|pwmhhhh|pwmhlhl|pwmlhlh|pwmllll</keyword>
<keyword>s.[0-9]|s.1[0-3]|s.a[0-5]</keyword>
<keyword>spifast|spimedium|spislow</keyword>
<keyword>spimode00|spimode00e|spimode01|spimode01e|spimode10|spimode10e|spimode11|spimode11e</keyword>
<keyword>t1s_4|t1s_8|t1s_16|t1s_20|t1s_32|t1s_40|t1s_64</keyword>
<keyword>t300|t300_4</keyword>
<keyword>t600|t600_4|t600_8</keyword>
<keyword>t1200|t1200_4|t1200_8</keyword>
<keyword>t2400|t2400_4|t2400_8|t2400_16</keyword>
<keyword>t4800|t4800_4|t4800_8|t4800_16|t4800_32</keyword>
<keyword>t9600|t9600_8|t9600_16|t9600_32|t9600_64</keyword>
<keyword>t19200|t19200_16|t19200_32|t19200_64</keyword>
<keyword>t38400|t38400_32|t38400_64</keyword>
<keyword>t76800|t76800_64</keyword>
<keyword>uni_crrd|uni_eral|uni_rdsr|uni_read|uni_setal|uni_wren|uni_wrdi|uni_write|uni_wrsr</keyword>
</context>
<context id="noch-unbekannt" style-ref="unbekannt">
<keyword>vartoascii</keyword> <!-- -->
<keyword>call</keyword> <!-- -->
<keyword>data</keyword> <!-- -->
<keyword>pause_int</keyword> <!-- -->
<keyword>pot</keyword> <!-- -->
<keyword>readpinsc</keyword> <!-- -->
<keyword>sensor</keyword> <!-- -->
<keyword>word</keyword> <!-- -->
<keyword>clear</keyword> <!-- -->
<keyword>is</keyword> <!-- -->
<keyword>mod</keyword> <!-- -->
<keyword>set</keyword> <!-- -->
</context>
<context id="picaxe">
<include>
<context ref="Line-Comments-1"/>
<context ref="Line-Comments-2"/>
<context ref="Line-Comments-3"/>
<context ref="Block-Comments"/>
<context ref="Strings"/>
<context ref="IntNumbers"/>
<context ref="HexNumbers"/>
<context ref="BinNumbers"/>
<context ref="Digital-Input-Output"/>
<context ref="Analogue-Input-Output"/>
<context ref="Time-Delays"/>
<context ref="Program-Flow-Control"/>
<context ref="Interrupts-and-Multi-Tasking"/>
<context ref="PICAXE-Variables"/>
<context ref="Serial-RS232-Interfacing"/>
<context ref="Advanced-Input-Output-Interfacing"/>
<context ref="Advanced-Configuration"/>
<context ref="Directives"/>
<context ref="Mathematical-Functions"/>
<context ref="Variables"/>
<context ref="Constants"/>
<context ref="noch-unbekannt"/>
</include>
</context>
</definitions>
</language>
das Farbschema:
<style-scheme name="PICAXE" id="picaxe" version="1.0">
<author>Hermann Friedhoff</author>
<description>PICAXE Farbschema</description>
<!-- Farben für einen PICAXE-Quelltext -->
<color name="red" value="#FF0000"/>
<color name="green" value="#00DD00"/>
<color name="dark-green" value="#00BB00"/>
<color name="blue" value="#0000FF"/>
<color name="yellow" value="#FFFF00"/>
<color name="dark-yellow" value="#FFF000"/>
<color name="brown" value="#AA0000"/>
<color name="orange" value="#FF8822"/>
<color name="grey" value="#808080"/>
<color name="dark-grey" value="#606060"/>
<color name="purple" value="#A020F0"/>
<color name="violet" value="#6A5ACD"/>
<color name="pink" value="#FF00FF"/>
<color name="cyan" value="#008A8C"/>
<color name="black" value="#000000"/>
<color name="white" value="#FFFFFF"/>
<color name="test" value="#AA0000"/>
<!-- Farben für einen PICAXE-Quelltext zuweisen -->
<style name="picaxe:comment" foreground="blue" />
<style name="picaxe:string" foreground="pink" />
<style name="picaxe:command" foreground="brown" />
<style name="picaxe:directive" foreground="orange" />
<style name="picaxe:intnumber" foreground="red" />
<style name="picaxe:hexnumber" foreground="grey" />
<style name="picaxe:binnumber" foreground="dark-grey" />
<style name="picaxe:constant" foreground="purple" bold="true" />
<style name="picaxe:variable" foreground="dark-green" bold="true" />
<style name="picaxe:pvariable" foreground="green" bold="true" />
<style name="picaxe:multitask" foreground="orange" bold="true" />
<!-- Farben die schon für andere Texte vorhanden sind -->
<style name="current-line" background="#eeeeec" />
<style name="draw-spaces" foreground="#babdb6" />
<style name="bracket-match" foreground="#FFFFFF" background="#BEBEBE" bold="true" />
<style name="bracket-mismatch" foreground="#FFFFFF" background="#FF0000" bold="true" />
<style name="right-margin" foreground="#000000" background="#000000" />
<style name="search-match" background="#FFFF00" />
<style name="def:comment" foreground="#0000FF" />
<style name="def:shebang" foreground="#0000FF" bold="true" />
<style name="def:doc-comment-element" italic="true" />
<style name="def:constant" foreground="#FF00FF" />
<style name="def:special-char" foreground="#6A5ACD" />
<style name="def:identifier" foreground="#008A8C" />
<style name="def:statement" foreground="#A52A2A" bold="true" />
<style name="def:type" foreground="#2E8B57" bold="true" />
<style name="def:preprocessor" foreground="#A020F0" />
<style name="def:error" background="#FF0000" bold="true" />
<style name="def:warning" background="#FFFF00" />
<style name="def:note" foreground="#0000FF" background="#FFFF00" bold="true" />
<style name="def:underlined" italic="true" underline="true" />
<style name="diff:added-line" foreground="#008B8B" />
<style name="diff:removed-line" foreground="#6A5ACD" />
<style name="diff:changed-line" foreground="#A020F0" />
<style name="diff:special-case" foreground="#FF00FF" />
<style name="diff:location" foreground="#A52A2A" bold="true" />
<style name="diff:diff-file" foreground="#2E8B57" bold="true" />
<style name="xml:tags" foreground="#008A8C" />
<style name="xml:attribute-name" foreground="#6A5ACD" />
<style name="xml:namespace" foreground="#2E8B57" bold="true" />
<style name="js:object" foreground="#2E8B57" bold="true" />
<style name="js:constructors" foreground="#008B8B" />
<style name="latex:display-math" foreground="#6A5ACD" />
<style name="latex:command" foreground="#2E8B57" bold="true" />
<style name="latex:include" foreground="#A020F0" />
<style name="sh:variable" foreground="#6A5ACD" />
<style name="Others" foreground="#2E8B57" bold="true" />
<style name="Others 2" foreground="#008B8B" />
<style name="Others 3" foreground="#6A5ACD" />
</style-scheme>
Grüßle