コード例 #1
0
		internal static ExpandSelectionAnnotation GetSelectionAnnotation (MonoDevelop.Ide.Editor.TextEditor editor)
		{
			var result = editor.Annotation<ExpandSelectionAnnotation> ();
			if (result == null) {
				result = new ExpandSelectionAnnotation (editor);
				editor.AddAnnotation (result);
			}
			return result;
		}