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 wechselnC {C[53] Abap[227] [0]}Datei anzeigen

/**
 * Emulate GNU Emacs's "kill-ring-save" capability (normally bound to Meta-W),
 * which copies the text between the caret and the mark to the kill ring. This 
 * version is slightly different than the Emacs version: If there's any
 * selected text, it copies that text. Otherwise, it selects the text between
 * the caret and the mark, and copies that.
 *
 * Does NOT use jEdit markers.
 */

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

void emacsKillRingSave()
{
    selection = getKillRegion();
    if (selection == null)
        beep();
    else
        addToClipboardAndHistory (selection);
}

emacsKillRingSave();


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