oldLine and newLine were declared inside 'if (cachedText && oldPoint > 0)' block but singleLineMove block referenced them from outside that scope. Fix: declare singleLineMove = NO before the granularity detection block; compute adjFwd/adjBwd inside the 'if (oldLine.location != newLine.location)' branch where both variables are in scope.
22 KiB
22 KiB