/// <summary>
        /// Initializes a new instance of the <see cref="IEditableText"/> class.
        /// </summary>
        /// <param name="source">The <see cref="IEditableText"/> to control the input of.</param>
        /// <exception cref="ArgumentNullException"><paramref name="source" /> is <c>null</c>.</exception>
        public EditableTextHandler(IEditableText source)
        {
            if (source == null)
                throw new ArgumentNullException("source");

            _source = source;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="IEditableText"/> class.
        /// </summary>
        /// <param name="source">The <see cref="IEditableText"/> to control the input of.</param>
        /// <exception cref="ArgumentNullException"><paramref name="source" /> is <c>null</c>.</exception>
        public EditableTextHandler(IEditableText source)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            _source = source;
        }
Example #3
0
 /// <summary>
 /// Represents an atom of editable text (i.e. typed character).
 /// </summary>
 public Atom(MarkdownDocument Document, IEditableText Source, char Character)
     : base(Document)
 {
     this.source    = Source;
     this.character = Character;
 }
Example #4
0
 public EditableText(Accessible accessible)
 {
     ObjectPath op = new ObjectPath (accessible.path);
     proxy = Registry.Bus.GetObject<IEditableText> (accessible.application.name, op);
 }