示例#1
0
        static public string GetStatementAtPosition(this ScintillaGateway document, int position = -1)
        {
            if (position == -1)
            {
                position = document.GetCurrentPos();
            }

            return(document.GetWordAtPosition(position, out Point point, statementDelimiters));
        }
示例#2
0
 static public string GetWordAtPosition(this ScintillaGateway document, int position, char[] wordDelimiters = null)
 {
     return(document.GetWordAtPosition(position, out Point point, wordDelimiters));
 }