Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quellcode-Bibliothek

© Kompilation durch diese Firma

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

Datei:   Sprache: Unknown

Haftungsausschluß.bsh KontaktLatech {Latech[40] C[50] Abap[221]}diese Dinge liegen außhalb unserer Verantwortung

/**
 * Emulate GNU Emacs's "kill-region" capability (normally bound to Ctrl-W),
 * which kills the text between the caret and the mark, copying it to the kill
 * ring. This version is slightly different: If there's any selected text, it
 * kills and copies that text. Otherwise, it selects the text between the
 * caret and the mark, and kills and copies that.
 *
 * Does NOT use jEdit markers.
 */
source (MiscUtilities.constructPath(dirname(scriptPath), "EmacsUtil.bsh"));

void emacsKillRegion()
{
    selection = getKillRegion();
    if (selection == null)
        beep();

    else
    {
        addToClipboardAndHistory (selection);
        textArea.replaceSelection ("");
        textArea.removeFromSelection (selection);
    }
}

emacsKillRegion();


[ Seitenstruktur0.70Drucken  ]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik