// --------------------------- ScanNextWord -------------------------------
        public static TextLinesWordCursor ScanNextWord(
            TextLines Lines, TextLinesWordCursor CurrentWord)
        {
            TextLinesWordCursor  res = null;
            TextLinesCursor      csr = null;
            TextLinesScanResults sr  = null;

            // calc scan start position
            csr = ScanWord_CalcStartBx(Lines, CurrentWord);

            // advance past whitespace
            if ((csr.Position != RelativePosition.None) &&
                (csr.Position != RelativePosition.End))
            {
                sr = Lines.ScanNotEqual(
                    csr, CurrentWord.TextTraits.WhitespacePatterns,
                    ScannerEndOfLineConsider.ContinueScan);
                csr = sr.Pos;
            }

            // got the start of something. scan for the delimeter ( could be the current char )
            if (csr.Position == RelativePosition.At)
            {
                //ScanWord_IsolateWord(InBoundedString, Bx, ref results, InCurrentWord.TextTraits);
            }

            return(res);
        }