Mono.TextEditor.TextDocument.IsWholeWordAt C# (CSharp) Method

IsWholeWordAt() public method

public IsWholeWordAt ( int offset, int length ) : bool
offset int
length int
return bool
		public bool IsWholeWordAt (int offset, int length)
		{
			return (offset == 0 || IsWordSeparator (GetCharAt (offset - 1))) &&
				   (offset + length == TextLength || IsWordSeparator (GetCharAt (offset + length)));
		}
		
TextDocument