예제 #1
0
        static public string GetStatementAtCaret()
        {
            string expression = Npp.GetSelectedText();

            if (string.IsNullOrWhiteSpace(expression))
            {
                expression = CSScriptIntellisense.Npp.GetStatementAtPosition();
            }
            return(expression);
        }