patches: fix remaining line-length violations and doc string corruption
- Correct three pre-existing DEFVAR_BOOL doc strings (ns-use-native- fullscreen, ns-use-mwheel-acceleration, ns-use-mwheel-momentum) that were accidentally modified by an earlier rebase; restore original text - Break @property line in nsterm.h to 79 chars - Replace em-dash with --- and break 80-char comment line in patch 0004
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9c7e408085f52f1e44b6cb71e64448162e5c3e68 Mon Sep 17 00:00:00 2001
|
||||
From 45e436cf80b9adb67972bd1f5953ced3c90c0b61 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
|
||||
@@ -14,14 +14,14 @@ elements with an AXPress action that sends a synthetic TAB keystroke.
|
||||
(accessibilityChildrenInNavigationOrder): Return cached span array,
|
||||
rebuilding lazily when interactiveSpansDirty is set.
|
||||
---
|
||||
src/nsterm.m | 286 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 286 insertions(+)
|
||||
src/nsterm.m | 287 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 287 insertions(+)
|
||||
|
||||
diff --git a/src/nsterm.m b/src/nsterm.m
|
||||
index 350111a..992a5ce 100644
|
||||
index d3015e2..6d3b87a 100644
|
||||
--- a/src/nsterm.m
|
||||
+++ b/src/nsterm.m
|
||||
@@ -9304,6 +9304,292 @@ - (NSRect)accessibilityFrame
|
||||
@@ -9304,6 +9304,293 @@ - (NSRect)accessibilityFrame
|
||||
|
||||
@end
|
||||
|
||||
@@ -219,7 +219,8 @@ index 350111a..992a5ce 100644
|
||||
+- (BOOL) isAccessibilityFocused
|
||||
+{
|
||||
+ /* Read the cached point stored by EmacsAccessibilityBuffer on the main
|
||||
+ thread — safe to read from any thread (plain ptrdiff_t, no Lisp calls). */
|
||||
+ thread --- safe to read from any thread (plain ptrdiff_t,
|
||||
+ no Lisp calls). */
|
||||
+ EmacsAccessibilityBuffer *pb = self.parentBuffer;
|
||||
+ if (!pb)
|
||||
+ return NO;
|
||||
|
||||
Reference in New Issue
Block a user