patches: fix if-block indentation in 0008 (B5 fix cleanup)
The B5 goto-replacement introduced indentation inconsistency: opening/closing braces were at tab+2, body at 6 spaces. The original code (ns_ax_face_is_selected deletion) used tab for braces and tab+2 for body. Align the new if-block to match existing style: - Opening brace: tab (was tab+2) - Body lines (int selected_line, NSString *candidate, if(candidate)): tab+2 (was 6 spaces after partial fix) - Continuation of NSString declaration: tab+4 (was tab) - Closing brace: tab (was tab+2)
This commit is contained in:
@@ -433,7 +433,7 @@ index c9fe93a57b..f7574efb39 100644
|
|||||||
+ postEchoAreaAnnouncementIfNeeded (called from postAccessibilityUpdates
|
+ postEchoAreaAnnouncementIfNeeded (called from postAccessibilityUpdates
|
||||||
+ before this per-element loop) so that they are never lost to a
|
+ before this per-element loop) so that they are never lost to a
|
||||||
+ concurrent tree rebuild. For the inactive minibuffer (minibuf_level
|
+ concurrent tree rebuild. For the inactive minibuffer (minibuf_level
|
||||||
+ == 0), skip normal cursor and completion processing — there is no
|
+ == 0), skip normal cursor and completion processing --- there is no
|
||||||
+ meaningful cursor to track. */
|
+ meaningful cursor to track. */
|
||||||
+ if (MINI_WINDOW_P (w) && minibuf_level == 0)
|
+ if (MINI_WINDOW_P (w) && minibuf_level == 0)
|
||||||
+ return;
|
+ return;
|
||||||
@@ -478,13 +478,13 @@ index c9fe93a57b..f7574efb39 100644
|
|||||||
+ characters inaudible. VoiceOver should read the overlay
|
+ characters inaudible. VoiceOver should read the overlay
|
||||||
+ candidate only when the user navigates (C-n/C-p), not types. */
|
+ candidate only when the user navigates (C-n/C-p), not types. */
|
||||||
+ if (MINI_WINDOW_P (w) && !didTextChange)
|
+ if (MINI_WINDOW_P (w) && !didTextChange)
|
||||||
+ {
|
+ {
|
||||||
+
|
+
|
||||||
+ int selected_line = -1;
|
+ int selected_line = -1;
|
||||||
+ NSString *candidate
|
+ NSString *candidate
|
||||||
+ = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b),
|
+ = ns_ax_selected_overlay_text (b, BUF_BEGV (b), BUF_ZV (b),
|
||||||
+ &selected_line);
|
+ &selected_line);
|
||||||
+ if (candidate)
|
+ if (candidate)
|
||||||
{
|
{
|
||||||
- int selected_line = -1;
|
- int selected_line = -1;
|
||||||
- NSString *candidate
|
- NSString *candidate
|
||||||
@@ -536,7 +536,7 @@ index c9fe93a57b..f7574efb39 100644
|
|||||||
+ annInfo);
|
+ annInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Cursor moved or selection changed ---
|
/* --- Cursor moved or selection changed ---
|
||||||
|
|||||||
Reference in New Issue
Block a user