public string GetWordFromBuffer(int beg, int pos, int end, Func <char, bool> wordCharTest)
        {
            var text = GetStringFromBuffer(beg, end);

            return(Runtime.GetWordFromString(text, pos - beg, wordCharTest));
        }