products/Sources/formale Sprachen/Isabelle/Tools/jEdit/dist/macros/Emacs image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei:   Sprache: Unknown

Columbo aufrufen.bsh zum Wurzelverzeichnis wechselnShell {Shell[61] PVS[79] CS[100]}Datei anzeigen

/**
 * Kill to the end of the current sentence. Emulates the Emacs "kill-sentence"
 * command.
 */

source (MiscUtilities.constructPath(dirname(scriptPath), "EmacsUtil.bsh"));

void emacsKillSentence()
{
    caret = textArea.getCaretPosition();
    eos = findEndOfSentence();

    selection = new Selection.Range (caret, eos);
    textArea.setSelection (selection);
    addToClipboardAndHistory (selection);
    textArea.replaceSelection ("");
    textArea.removeFromSelection (selection);
}

emacsKillSentence();

[ Original von:0.62Diese Quellcodebibliothek enthält Beispiele in vielen Programmiersprachen. Man kann per Verzeichnistruktur darin navigieren. Der Code wird farblich markiert angezeigt.  ]