So everyone checkout
trunk/www/sites/developer/development-versionsand update kde-features.xml :) At some point we'll enable the techbase extension so the list shows up there as well.
News around KDE and Kate.
trunk/www/sites/developer/development-versionsand update kde-features.xml :) At some point we'll enable the techbase extension so the list shows up there as well.
You need at least Internet Explorer 5.5. Setup terminated!Sigh, I found a IE5.5 offline setup. Next try:
You need at least a resolution of 800x600. Setup terminated!I found the graphics card chip, installed the drivers and switched the resolution. Next try:
The language version of the OS is not German. Setup terminated!Now that is clearly how software should not work. It seems to be impossible to install the T-Online software. I would install Linux, but it's quite a change for a ~90 years old user :(
/* kate-scriptThe header line functions: sorter makes Kate Part aware of the function in the script. A list of functions is supported, separated by white spaces. You can use the function by typing 'sorter' in the commandline.
* name: unused
* author: foo bar
* license: LGPL
* version: 1
* kate-version: 3.0
* functions: sorter
*/
function sorter ()
{
if (view.hasSelection()) {
var start = view.startOfSelection().line;
var end = view.endOfSelection().line;
var text = document.textRange(start, 0, end, document.lineLength(end));
var lines = text.split("\n");
lines.sort();
text = lines.join("\n");
view.clearSelection();
document.editBegin();
document.removeText(start, 0, end, document.lineLength(end));
document.insertText(start, 0, text);
document.editEnd();
}
}
/** kate-scriptThe result:
* name: LISP
* license: LGPL
* author: foo bar
* version: 1
* kate-version: 3.0
* type: indentation
*/
// indent should be called when ; is pressed
triggerCharacters = ";";
function indent(line, indentWidth, ch)
{
// special rules: ;;; -> indent 0
// ;; -> align with next line, if possible
// ; -> usually on the same line as code -> ignore
textLine = document.line(line);
if (textLine.search(/^\s*;;;/) != -1) {
return 0;
} else if (textLine.search(/^\s*;;/) != -1) {
// try to align with the next line
nextLine = document.nextNonEmptyLine(line + 1);
if (nextLine != -1) {
return document.firstVirtualColumn(nextLine);
}
}
cursor = document.anchor(line, 0, '(');
if (cursor) {
return document.toVirtualColumn(cursor.line, cursor.column) + indentWidth;
} else {
return 0;
}
}
;;; fib : number -> numberAs this indenter is scripted, everybody can adapt the style to the own needs.
(define (fib n)
(if (< n 2)
1
(+ (fib (- n 1)) (fib (- n 2)))))
/* kate-scriptMore details on the header:
* name: MyLanguage Indenter
* license: LGPL
* author: Foo Bar
* version: 1
* kate-version: 3.0
* type: indentation
*
*optional bla bla here
*/
// specifies the characters which should trigger indent() beside the default '\n'
triggerCharacters = "{}";
// called for the triggerCharacters {} and
function indent(line, indentWidth, typedChar)
{
// do calculations here
// if typedChar is an empty string, the user hit enter/return
// todo: Implement your indentation algorithms here.return -1; // keep indentation
}

That are nice pictures for the current time of year, so God Jul to everyone and KDE :)