From 381cfd944b0e8c40b9bc69d3b1c60ba9e8906027 Mon Sep 17 00:00:00 2001 From: Greg Bolsinga Date: Tue, 7 May 2019 15:54:34 -0700 Subject: [PATCH] Shrink ASEditableTextNode by 16 bytes Just shuffle some BOOLs around and explicitly declare an ivar so it is grouped with the others. --- Source/ASEditableTextNode.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/ASEditableTextNode.mm b/Source/ASEditableTextNode.mm index 2740de9c7..2958f21c0 100644 --- a/Source/ASEditableTextNode.mm +++ b/Source/ASEditableTextNode.mm @@ -114,7 +114,6 @@ @interface ASEditableTextNode () // Core. id __weak _delegate; - BOOL _delegateDidUpdateEnqueued; // TextKit. AS::RecursiveMutex _textKitLock; @@ -131,6 +130,9 @@ @interface ASEditableTextNode () BOOL _displayingPlaceholder; // Defaults to YES. BOOL _isPreservingSelection; BOOL _selectionChangedForEditedText; + BOOL _delegateDidUpdateEnqueued; + BOOL _scrollEnabled; + NSRange _previousSelectedRange; }