diff --git a/MacDown/Code/Document/MPDocument.m b/MacDown/Code/Document/MPDocument.m index fcea214d..60fe67e0 100644 --- a/MacDown/Code/Document/MPDocument.m +++ b/MacDown/Code/Document/MPDocument.m @@ -645,7 +645,7 @@ - (BOOL)textViewShouldMoveToLeftEndOfLine:(NSTextView *)textView NSRect currentRect = [manager boundingRectForGlyphRange:NSMakeRange(cur, 1) inTextContainer:container]; - if (targetRect.origin.y > currentRect.origin.y) + if (targetRect.origin.y != currentRect.origin.y) return YES; textView.selectedRange = NSMakeRange(location, 0);