예제 #1
0
        public void NSTextInputClient_ShouldMarkText()
        {
            textView.SetMarkedText((NSString)"Testing", new NSRange(0, 10), new NSRange(5, 4));

            Assert.IsTrue(textView.HasMarkedText, "NSTextInputClient_ShouldMarkText - Failed to mark text");
            Assert.AreEqual(textView.MarkedRange, new NSRange(5, 7));
        }