Mono.TextEditor.TextViewMargin.VisualLocationTranslator.IsNearX1 C# (CSharp) Method

IsNearX1() static private method

static private IsNearX1 ( int pos, int x1, int x2 ) : bool
pos int
x1 int
x2 int
return bool
			static bool IsNearX1 (int pos, int x1, int x2)
			{
				return System.Math.Abs (x1 - pos) < System.Math.Abs (x2 - pos);
			}