Deveel.Readline.EraseToEndWord C# (CSharp) Méthode

EraseToEndWord() private static méthode

private static EraseToEndWord ( ) : void
Résultat void
        private static void EraseToEndWord()
        {
            int temp = posn;
            while (temp < length && !IsWordCharacter(buffer[temp])) {
                ++temp;
            }
            while (temp < length && IsWordCharacter(buffer[temp])) {
                ++temp;
            }
            if (temp > posn) {
                temp -= posn;
                yankedString = new String(buffer, posn, temp);
                Delete(temp);
            }
        }