Editing Kate
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 13: | Line 13: | ||
and setting | and setting | ||
Priority 0 for Filetype : Scientific/Matlab and | Priority 0 for Filetype : Scientific/Matlab and | ||
Priority 1 for Filetype : Scientific/Octave (the important | Priority 1 for Filetype : Scientific/Octave (the important is that it is higher than the Matlab one) | ||
== Comment/uncomment == | == Comment/uncomment == | ||
Kate can comment/uncomment several lines of code at the same time. Simply select the lines and press {{Key|Ctr+D}} to comment and {{Key|Shift+Ctr+D}} to uncomment. | Kate can comment/uncomment several lines of code at the same time. Simply select the lines and press {{Key|Ctr+D}} to comment and {{Key|Shift+Ctr+D}} to uncomment. | ||
For the current | For the current (april 2012) default (octave.xml version 1.01), | ||
the added comment start at the beginning of the line. | the added comment start at the beginning of the line. | ||
Line 45: | Line 45: | ||
Quit kate, then, as root, {{Codeline|cd /usr/share/kde4/apps/katepart/syntax/ && patch -p7 --backup < /tmp/kate_highlight_octave.xml.patch}} | Quit kate, then, as root, {{Codeline|cd /usr/share/kde4/apps/katepart/syntax/ && patch -p7 --backup < /tmp/kate_highlight_octave.xml.patch}} | ||