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


Quellcode-Bibliothek

© Kompilation durch diese Firma

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

Datei: ServerKiller.java   Sprache: Unknown

Untersuchungsergebnis.bsh Download desPVS {PVS[81] CS[103] Abap[113]}zum Wurzelverzeichnis wechseln

/**
 * Emulate GNU Emacs's (fixup-whitespace) function (typically bound to
 * Ctrl-SPACE. Not a complete emulation. Emacs docs for this function:
 *
 *     Fixup white space between objects around caret.
 *     Leave one space or none, according to the context.
 */

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

void emacsAlignDeclarations()
{
    caret = textArea.getCaretPosition();
    caretLine = textArea.getCaretLine();
    lineStart = textArea.getLineStartOffset (caretLine);
    lineEnd = textArea.getLineEndOffset (caretLine);
    
    if (caretLine.trim().length() == 0)
        return;

    // Find the end of the block
    
    boolean emptyLine = false;
    caret2 = lineEnd + 1;
    while (! emptyLine)
    {
        line = lineAt (caret2);
        if (line.trim().length() == 0)
            break;
        caret2 = caret2 + line.length();
    }
}

emacsFixupWhitespace();


[ zur Elbe Produktseite wechseln0.78Quellennavigators  ]

                                                                                                                                                                                                                                                                                                                                                                                                     


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