AGS.Editor.ScintillaWrapper.FindLineNumberForText C# (CSharp) 메소드

FindLineNumberForText() 공개 메소드

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