Exemple #1
0
        public void AddToLine(Mono.TextEditor.Document doc)
        {
            if (Line != null) {

                DocumentLocation dl = doc.OffsetToLocation(marker.StartCol);
                marker.StartCol = dl.Column;

                dl = doc.OffsetToLocation(marker.EndCol);
                marker.EndCol = dl.Column;

                doc.AddMarker (Line, marker);
            }
        }
		public void AddToLine (Mono.TextEditor.Document doc)
		{
			if (Line != null) {
				doc.AddMarker (Line, marker);
			}
		}
		public void AddToLine (Mono.TextEditor.Document doc)
		{
			if (LineSegment != null) {
				doc.AddMarker (LineSegment, this);
			}
		}