static public string GetStatementAtPosition(this ScintillaGateway document, int position = -1) { if (position == -1) { position = document.GetCurrentPos(); } return(document.GetWordAtPosition(position, out Point point, statementDelimiters)); }
static public string GetWordAtPosition(this ScintillaGateway document, int position, char[] wordDelimiters = null) { return(document.GetWordAtPosition(position, out Point point, wordDelimiters)); }