public UrlTextLineMarker(TextDocument doc, string url, Mono.TextEditor.UrlType urlType, string style, int startColumn, int endColumn) : base(doc, url, urlType, style, startColumn, endColumn) { if (doc == null) { throw new ArgumentNullException("doc"); } }
public UrlTextLineMarker(TextDocument doc, IDocumentLine line, string url, Mono.TextEditor.UrlType urlType, string style, int startColumn, int endColumn) : base(doc, doc.GetLine(line.LineNumber), url, urlType, style, startColumn, endColumn) { if (doc == null) { throw new ArgumentNullException("doc"); } this.line = line; }