patches: fix singleLineMove compile error - out-of-scope variables
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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From de1a3e8c2cbc4e90d3d9f24378fa00716e1ee175 Mon Sep 17 00:00:00 2001
|
||||
From 04edba6e94622176c9869ba2564cd4fda4d2edd8 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Sat, 28 Feb 2026 12:58:11 +0100
|
||||
Subject: [PATCH 4/8] ns: add interactive span elements for Tab navigation
|
||||
|
||||
Reference in New Issue
Block a user