Exemplo n.º 1
0
		internal static void SetMargin(ITextView textView, ICustomLineNumberMargin margin) {
			if (textView == null)
				throw new ArgumentNullException(nameof(textView));
			if (margin == null)
				throw new ArgumentNullException(nameof(margin));
			textView.Properties.AddProperty(Key, margin);
		}
Exemplo n.º 2
0
 internal static void SetMargin(ITextView textView, ICustomLineNumberMargin margin)
 {
     if (textView is null)
     {
         throw new ArgumentNullException(nameof(textView));
     }
     if (margin is null)
     {
         throw new ArgumentNullException(nameof(margin));
     }
     textView.Properties.AddProperty(Key, margin);
 }