AGS.Editor.ScintillaWrapper.FindLineNumberForText C# (CSharp) Method

FindLineNumberForText() public method

public FindLineNumberForText ( string text ) : int
text string
return int
        public int FindLineNumberForText(string text)
        {
            string currentText = this.scintillaControl1.GetText();
            if (currentText.IndexOf(text) >= 0)
            {
                return FindLineNumberForCharacterIndex(currentText.IndexOf(text));
            }
            return 0;
        }
ScintillaWrapper