AvalonStudio.TextEditor.Document.TextAnchorTree.Sibling C# (CSharp) Method

Sibling() private static method

private static Sibling ( TextAnchorNode node ) : TextAnchorNode
node TextAnchorNode
return TextAnchorNode
		private static TextAnchorNode Sibling(TextAnchorNode node)
		{
			if (node == node.parent.left)
				return node.parent.right;
			return node.parent.left;
		}

Same methods

TextAnchorTree::Sibling ( TextAnchorNode node, TextAnchorNode parentNode ) : TextAnchorNode