Пример #1
0
 public TextRangePattern(Accessible accessible, int startOffset, int endOffset)
 {
     this.accessible  = accessible;
     this.text        = accessible.QueryText();
     this.startOffset = startOffset;
     this.endOffset   = endOffset;
 }
Пример #2
0
 public TextRangePattern(Accessible accessible)
 {
     this.accessible  = accessible;
     this.text        = accessible.QueryText();
     this.startOffset = 0;
     this.endOffset   = text.CharacterCount;
 }
Пример #3
0
		public TextSource (Element element)
		{
			accessible = element.Accessible;
			text = accessible.QueryText ();
		}
Пример #4
0
		public TextRangePattern (Accessible accessible, int startOffset, int endOffset)
		{
			this.accessible = accessible;
			this.text = accessible.QueryText ();
			this.startOffset = startOffset;
			this.endOffset = endOffset;
		}
Пример #5
0
		public TextRangePattern (Accessible accessible)
		{
			this.accessible = accessible;
			this.text = accessible.QueryText ();
			this.startOffset = 0;
			this.endOffset = text.CharacterCount;
		}
Пример #6
0
		public ValueSource (Element element)
		{
			accessible = element.Accessible;
			text = accessible.QueryText ();
			editableText = accessible.QueryEditableText ();
		}
Пример #7
0
 public TextSource(Element element)
 {
     accessible = element.Accessible;
     text       = accessible.QueryText();
 }