From 6121caf75d81b0d803a1096761e21e1f321db113 Mon Sep 17 00:00:00 2001 From: David Richardson Date: Thu, 20 Aug 2026 20:05:38 -0600 Subject: [PATCH] Remove CPTabStopType build warning CPParagraphStyle.j defined CPTabStopType's four constants directly, with a comment noting they were "missing" but no @typedef for the type itself. _CPRTFParser.j uses CPTabStopType as an ivar type and imports CPParagraphStyle.j directly, so the fix belongs in the defining file. Added the missing @typedef CPTabStopType, same pattern as CPRulerOrientation. --- AppKit/CPTextView/CPParagraphStyle.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextView/CPParagraphStyle.j b/AppKit/CPTextView/CPParagraphStyle.j index e89cda17a..0b8bdae7f 100644 --- a/AppKit/CPTextView/CPParagraphStyle.j +++ b/AppKit/CPTextView/CPParagraphStyle.j @@ -26,7 +26,7 @@ CPParagraphStyleAttributeName = @"CPParagraphStyleAttributeName"; -// Define missing global tab stop type constants +@typedef CPTabStopType CPLeftTabStopType = 0; CPRightTabStopType = 1; CPCenterTabStopType = 2;