예제 #1
0
파일: HoverMarker.cs 프로젝트: moscrif/ide
        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);
            }
        }
예제 #2
0
		public void AddToLine (Mono.TextEditor.Document doc)
		{
			if (Line != null) {
				doc.AddMarker (Line, marker);
			}
		}
예제 #3
0
		public void AddToLine (Mono.TextEditor.Document doc)
		{
			if (LineSegment != null) {
				doc.AddMarker (LineSegment, this);
			}
		}