Skip to content

Commit 1005a45

Browse files
committed
Add Xcode 8.3 support and prevent folding manager related crashes.
1 parent 92357cb commit 1005a45

File tree

3 files changed

+127
-102
lines changed

3 files changed

+127
-102
lines changed

SCXcodeMinimap/SCXcodeMinimap-Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
<string>ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C</string>
4747
<string>1637F4D5-0B27-416B-A78D-498965D64877</string>
4848
<string>DA4FDFD8-C509-4D8B-8B55-84A7B66AE701</string>
49+
<string>E0A62D1F-3C18-4D74-BFE5-A4167D643966</string>
50+
<string>DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C</string>
4951
</array>
5052
<key>LSMinimumSystemVersion</key>
5153
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>

SCXcodeMinimap/SCXcodeMinimapView.m

+27-27
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#import "SCXcodeMinimapTheme.h"
3030
#import "DVTPreferenceSetManager.h"
3131

32-
#import "DVTFoldingManager.h"
32+
//#import "DVTFoldingManager.h"
3333

3434
#import "DVTAnnotationManager.h"
3535
#import "DBGBreakpointAnnotationProvider+SCXcodeMinimap.h"
@@ -74,7 +74,7 @@ typedef NS_ENUM(NSUInteger, SCXcodeMinimapAnnotationType) {
7474

7575

7676
@interface SCXcodeMinimapView () < NSLayoutManagerDelegate,
77-
DVTFoldingManagerDelegate,
77+
//DVTFoldingManagerDelegate,
7878
DBGBreakpointAnnotationProviderDelegate,
7979
IDEIssueAnnotationProviderDelegate,
8080
DVTLayoutManagerMinimapDelegate,
@@ -159,7 +159,7 @@ - (instancetype)initWithEditor:(IDESourceCodeEditor *)editor
159159
[(NSMutableArray *)storage.layoutManagers removeObject:layoutManager];
160160
[(NSMutableArray *)storage.layoutManagers addObject:layoutManager];
161161

162-
[self.editorTextView.layoutManager.foldingManager setDelegate:self];
162+
//[self.editorTextView.layoutManager.foldingManager setDelegate:self];
163163

164164
[self.textView setEditable:NO];
165165
[self.textView setSelectable:NO];
@@ -413,9 +413,9 @@ - (NSDictionary *)layoutManager:(NSLayoutManager *)layoutManager
413413
}
414414
}
415415

416-
short nodeType = [(DVTTextStorage *)[self.textView textStorage] nodeTypeAtCharacterIndex:charIndex
417-
effectiveRange:effectiveRange
418-
context:self.editorTextView.syntaxColoringContext];
416+
short nodeType = [(DVTTextStorage *)[self.editorTextView textStorage] nodeTypeAtCharacterIndex:charIndex
417+
effectiveRange:effectiveRange
418+
context:[self.editor syntaxColoringContextForTextView:self.editorTextView]];
419419

420420

421421

@@ -459,24 +459,29 @@ - (void)layoutManager:(DVTLayoutManager *)layoutManager didCompleteLayoutForText
459459
}
460460
}
461461

462-
#pragma mark - DVTFoldingManagerDelegate
463-
464-
- (void)foldingManager:(DVTFoldingManager *)foldingManager didFoldRange:(NSRange)range
465-
{
466-
[(DVTLayoutManager *)self.editorTextView.layoutManager foldingManager:foldingManager didFoldRange:range];
467-
468-
[self.textView.layoutManager.foldingManager foldRange:range];
469-
470-
[self updateOffset];
471-
}
462+
//#pragma mark - DVTFoldingManagerDelegate
463+
//
464+
//- (void)foldingManager:(DVTFoldingManager *)foldingManager didFoldRange:(NSRange)range
465+
//{
466+
// [(DVTLayoutManager *)self.editorTextView.layoutManager foldingManager:foldingManager didFoldRange:range];
467+
//
468+
// [self.textView.layoutManager.foldingManager foldRange:range];
469+
//
470+
// [self updateOffset];
471+
//}
472+
//
473+
//- (void)foldingManager:(DVTFoldingManager *)foldingManager didUnfoldRange:(NSRange)range
474+
//{
475+
// [(DVTLayoutManager *)self.editorTextView.layoutManager foldingManager:foldingManager didUnfoldRange:range];
476+
//
477+
// [self.textView.layoutManager.foldingManager unfoldRange:range];
478+
//
479+
// [self updateOffset];
480+
//}
472481

473-
- (void)foldingManager:(DVTFoldingManager *)foldingManager didUnfoldRange:(NSRange)range
482+
- (id)foldingTokenTypesForLayoutManager:(DVTLayoutManager *)layoutManager
474483
{
475-
[(DVTLayoutManager *)self.editorTextView.layoutManager foldingManager:foldingManager didUnfoldRange:range];
476-
477-
[self.textView.layoutManager.foldingManager unfoldRange:range];
478-
479-
[self updateOffset];
484+
return [self.editorTextView foldingTokenTypesForLayoutManager:layoutManager];
480485
}
481486

482487
#pragma mark - IDEEditorAreaMinimapDelegate
@@ -507,11 +512,6 @@ - (void)layoutManagerDidRequestSelectedSymbolInstancesHighlight:(DVTLayoutManage
507512
[self invalidateHighligtedSymbols];
508513
}
509514

510-
- (id) foldingTokenTypesForLayoutManager:(DVTLayoutManager *)layoutManager
511-
{
512-
return nil;
513-
}
514-
515515
#pragma mark - IDESourceCodeEditorSearchResultsDelegate
516516

517517
- (void)sourceCodeEditorDidUpdateSearchResults:(IDESourceCodeEditor *)editor

SCXcodeMinimap/Xcode Headers/DVTSourceTextView.h

+98-75
Original file line numberDiff line numberDiff line change
@@ -6,70 +6,73 @@
66

77
#import "DVTCompletingTextView.h"
88

9-
@class DVTAnnotationManager, DVTMutableRangeArray, DVTObservingToken, DVTTextAnnotationIndicatorAnimation, DVTTextDocumentLocation, DVTTextPageGuideVisualization, NSAnimation, NSArray, NSDictionary, NSHashTable, NSMutableArray, NSString, NSTimer, NSView, NSWindow;
9+
@class DVTAnnotationManager, DVTMutableRangeArray, DVTObservingToken, DVTTextAnnotationIndicatorAnimation, DVTTextDocumentLocation, DVTTextPageGuideVisualization, NSAnimation, NSArray, NSColor, NSHashTable, NSMutableArray, NSMutableIndexSet, NSString, NSTimer, NSView, NSWindow;
1010

1111
@interface DVTSourceTextView : DVTCompletingTextView
1212
{
13-
unsigned long long _oldFocusLocation;
14-
NSAnimation *_blockAnimation;
15-
struct CGPoint _lastMouseMovedLocation;
16-
struct _NSRange _foldingHoverRange;
17-
DVTTextAnnotationIndicatorAnimation *_annotationIndicatorAnimation;
18-
unsigned long long _temporaryLinkHoverModifierFlags;
19-
unsigned long long _temporaryLinkHoverAltModifierFlags;
20-
NSArray *_clickedTemporaryLinkRanges;
21-
NSMutableArray *_clickedLinkProgressIndicators;
22-
struct _NSRange _ghostStringRange;
23-
NSTimer *_autoHighlightTokenMenuTimer;
24-
struct _NSRange _autoHighlightTokenMenuRange;
25-
double _autoHighlightTokenMenuAnimationDuration;
26-
NSTimer *_autoHighlightTokenMenuAnimationTimer;
27-
double _autoHighlightTokenMenuAnimationStartTime;
28-
NSWindow *_autoHighlightTokenWindow;
29-
NSArray *_foundLocations;
30-
DVTTextDocumentLocation *_currentFoundLocation;
31-
NSMutableArray *_visualizations;
32-
unsigned long long _pageGuideColumn;
33-
DVTTextPageGuideVisualization *_pageGuideVisualization;
34-
unsigned long long _locationOfAutoOpenedCloseBracket;
35-
unsigned long long _locationOfOpenBracePendingClose;
36-
NSTimer *_scrollbarMarkerUpdateTimer;
37-
DVTAnnotationManager *_annotationManager;
38-
NSHashTable *_preparedViewAnnotations;
39-
NSView *_staticVisualizationView;
40-
int _findResultStyle;
41-
DVTMutableRangeArray *_typeOverCompletionRanges;
42-
DVTMutableRangeArray *_typeOverCompletionOpenRanges;
43-
NSString *_pendingTypeOverCompletion;
44-
struct _NSRange _pendingTypeOverCompletionOpenRange;
45-
BOOL _didChangeText;
46-
struct {
47-
unsigned int dDidFinishAnimatingScroll:1;
48-
unsigned int dDidScroll:1;
49-
unsigned int dColoringContext:1;
50-
unsigned int delegateRespondsToWillReturnPrintJobTitle:1;
51-
unsigned int updatingInsertionPoint:1;
52-
unsigned int wasPostsFrameChangedNotifications:1;
53-
unsigned int doingDidChangeSelection:1;
54-
unsigned int delegateRespondsToConstrainMinAccessoryAnnotationWidth:1;
55-
unsigned int delegateRespondsToConstrainMaxAccessoryAnnotationWidth:1;
56-
unsigned int delegateRespondsToConstrainAccessoryAnnotationWidth:1;
57-
} _sFlags;
58-
BOOL _isDoingBatchEdit;
59-
BOOL _allowsCodeFolding;
60-
BOOL _showingCodeFocus;
61-
BOOL _lastMouseEventWasClick;
62-
BOOL _tokenizedEditingEnabled;
63-
BOOL _animatesCurrentScroll;
64-
BOOL _disableUpdatingInsertionPointCount;
65-
BOOL _currentlyAutoCompletingBracket;
66-
BOOL _currentlyDoingNonUserEditing;
67-
BOOL _wrapsLines;
68-
BOOL _postsLayoutManagerNotifications;
69-
BOOL _scrollingInScrollView;
70-
DVTObservingToken *_autoHighlightTokenRangesObservingToken;
71-
struct _NSRange _selectedRangeBeforeMouseDown;
72-
BOOL _ensuringLayoutForScroll;
13+
unsigned long long _oldFocusLocation;
14+
NSAnimation *_blockAnimation;
15+
struct CGPoint _lastMouseMovedLocation;
16+
struct _NSRange _foldingHoverRange;
17+
DVTTextAnnotationIndicatorAnimation *_annotationIndicatorAnimation;
18+
unsigned long long _temporaryLinkHoverModifierFlags;
19+
unsigned long long _temporaryLinkHoverAltModifierFlags;
20+
NSArray *_clickedTemporaryLinkRanges;
21+
NSMutableArray *_clickedLinkProgressIndicators;
22+
struct _NSRange _ghostStringRange;
23+
NSTimer *_autoHighlightTokenMenuTimer;
24+
struct _NSRange _autoHighlightTokenMenuRange;
25+
double _autoHighlightTokenMenuAnimationDuration;
26+
NSTimer *_autoHighlightTokenMenuAnimationTimer;
27+
double _autoHighlightTokenMenuAnimationStartTime;
28+
NSWindow *_autoHighlightTokenWindow;
29+
NSArray *_foundLocations;
30+
DVTTextDocumentLocation *_currentFoundLocation;
31+
NSMutableArray *_visualizations;
32+
unsigned long long _pageGuideColumn;
33+
DVTTextPageGuideVisualization *_pageGuideVisualization;
34+
unsigned long long _locationOfAutoOpenedCloseBracket;
35+
unsigned long long _locationOfOpenBracePendingClose;
36+
NSTimer *_scrollbarMarkerUpdateTimer;
37+
DVTAnnotationManager *_annotationManager;
38+
NSHashTable *_preparedViewAnnotations;
39+
NSView *_staticVisualizationView;
40+
int _findResultStyle;
41+
DVTMutableRangeArray *_typeOverCompletionRanges;
42+
DVTMutableRangeArray *_typeOverCompletionOpenRanges;
43+
NSString *_pendingTypeOverCompletion;
44+
struct _NSRange _pendingTypeOverCompletionOpenRange;
45+
NSMutableIndexSet *_linesNeedingToTrimTrailingShitespace;
46+
BOOL _didChangeText;
47+
struct {
48+
unsigned int dDidFinishAnimatingScroll:1;
49+
unsigned int dDidScroll:1;
50+
unsigned int delegateRespondsToWillReturnPrintJobTitle:1;
51+
unsigned int updatingInsertionPoint:1;
52+
unsigned int wasPostsFrameChangedNotifications:1;
53+
unsigned int doingDidChangeSelection:1;
54+
unsigned int disableDrawingCurrentLineHighlight:1;
55+
unsigned int delegateRespondsToConstrainMinAccessoryAnnotationWidth:1;
56+
unsigned int delegateRespondsToConstrainMaxAccessoryAnnotationWidth:1;
57+
unsigned int delegateRespondsToConstrainAccessoryAnnotationWidth:1;
58+
} _sFlags;
59+
BOOL _isDoingBatchEdit;
60+
BOOL _allowsCodeFolding;
61+
BOOL _showingCodeFocus;
62+
BOOL _lastMouseEventWasClick;
63+
BOOL _tokenizedEditingEnabled;
64+
BOOL _animatesCurrentScroll;
65+
BOOL _disableUpdatingInsertionPointCount;
66+
BOOL _currentlyAutoCompletingBracket;
67+
BOOL _wrapsLines;
68+
BOOL _postsLayoutManagerNotifications;
69+
BOOL _scrollingInScrollView;
70+
DVTObservingToken *_autoHighlightTokenRangesObservingToken;
71+
struct _NSRange _selectedRangeBeforeMouseDown;
72+
BOOL _ensuringLayoutForScroll;
73+
BOOL _suppressRecentColorTracking;
74+
NSColor *_recentlySelectedColorToTrack;
75+
struct _NSRange _recentlySelectedColorLiteralRange;
7376
}
7477

7578
+ (BOOL)isCompatibleWithResponsiveScrolling;
@@ -79,6 +82,7 @@
7982
+ (id)foldingLogAspect;
8083
+ (id)drawingLogAspect;
8184
+ (void)initialize;
85+
8286
@property BOOL postsLayoutManagerNotifications; // @synthesize postsLayoutManagerNotifications=_postsLayoutManagerNotifications;
8387
@property int findResultStyle; // @synthesize findResultStyle=_findResultStyle;
8488
@property(nonatomic) unsigned long long pageGuideColumn; // @synthesize pageGuideColumn=_pageGuideColumn;
@@ -87,6 +91,30 @@
8791
@property unsigned long long temporaryLinkHoverAltModifierFlags; // @synthesize temporaryLinkHoverAltModifierFlags=_temporaryLinkHoverAltModifierFlags;
8892
@property unsigned long long temporaryLinkHoverModifierFlags; // @synthesize temporaryLinkHoverModifierFlags=_temporaryLinkHoverModifierFlags;
8993
@property(nonatomic) BOOL wrapsLines; // @synthesize wrapsLines=_wrapsLines;
94+
95+
- (id)mediaResourceProviderForLiteralInLayoutManager:(id)arg1;
96+
- (id)directoriesForLiteralInLayoutManager:(id)arg1;
97+
- (id)foldingTokenTypesForLayoutManager:(id)arg1;
98+
- (void)doubleClickedOnCell:(id)arg1 inRect:(struct CGRect)arg2 atIndexInToken:(unsigned long long)arg3;
99+
- (void)colorQuickEdit:(id)arg1 didSelectMoreColorOptions:(id)arg2;
100+
- (void)colorQuickEdit:(id)arg1 didSelectColor:(id)arg2;
101+
- (void)colorQuickEdit:(id)arg1 didHighlightColor:(id)arg2;
102+
- (void)imageQuickEdit:(id)arg1 didClickMoreButtonForFilePath:(id)arg2;
103+
- (void)imageQuickEdit:(id)arg1 didSelectFilePath:(id)arg2;
104+
- (void)fileQuickEdit:(id)arg1 didClickMoreButtonForFilePath:(id)arg2;
105+
- (void)fileQuickEdit:(id)arg1 didSelectFilePath:(id)arg2;
106+
- (void)changeColor:(id)arg1;
107+
- (void)updateSelectedColorLiteralWithColor:(id)arg1;
108+
- (void)presentOpenPanelForObjectLiteralAtFilePath:(id)arg1;
109+
- (void)presentPopoverRelativeToSelection:(id)arg1;
110+
- (void)insertObjectLiteralSyntaxForObjects:(id)arg1 selectLastObjectLiteral:(BOOL)arg2;
111+
- (BOOL)readObjectLiteralFromPasteboard:(id)arg1 type:(id)arg2;
112+
- (BOOL)readSelectionFromPasteboard:(id)arg1 type:(id)arg2;
113+
- (id)readablePasteboardTypes;
114+
- (BOOL)performDragOperation:(id)arg1;
115+
- (unsigned long long)dragOperationForDraggingInfo:(id)arg1 type:(id)arg2;
116+
- (id)acceptableDragTypes;
117+
- (id)_addingRedablePasteboardTypesForObjectLiterals:(id)arg1;
90118
- (void)viewDidEndLiveResize;
91119
- (void)viewWillStartLiveResize;
92120
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)arg1;
@@ -116,7 +144,6 @@
116144
- (void)foldRecursive:(id)arg1;
117145
- (void)fold:(id)arg1;
118146
- (BOOL)writeSelectionToPasteboard:(id)arg1 type:(id)arg2;
119-
- (BOOL)writeRTFSelectionToPasteboard:(id)arg1;
120147
- (id)writablePasteboardTypes;
121148
- (void)balance:(id)arg1;
122149
- (void)shiftLeft:(id)arg1;
@@ -126,7 +153,6 @@
126153
- (void)indentSelectionIfIndentable:(id)arg1;
127154
- (void)indentSelection:(id)arg1;
128155
- (struct _NSRange)_adjustedSelectedRange:(struct _NSRange)arg1 fromChangeIndex:(unsigned long long)arg2;
129-
- (void)commentAndUncommentCurrentLines:(id)arg1;
130156
- (void)moveCurrentLineDown:(id)arg1;
131157
- (void)moveCurrentLineUp:(id)arg1;
132158
- (void)_didChangeSelection:(id)arg1;
@@ -140,7 +166,7 @@
140166
- (id)accessibilityAXAttributedStringForCharacterRange:(struct _NSRange)arg1 parent:(id)arg2;
141167
- (BOOL)scrollRectToVisible:(struct CGRect)arg1;
142168
- (void)scrollPoint:(struct CGPoint)arg1;
143-
- (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2;
169+
- (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2 replacementRange:(struct _NSRange)arg3;
144170
- (BOOL)shouldChangeTextInRanges:(id)arg1 replacementStrings:(id)arg2;
145171
- (void)_invalidateAllRevealovers;
146172
- (BOOL)isEditable;
@@ -168,7 +194,6 @@
168194
- (void)textStorage:(id)arg1 willEndEditRange:(struct _NSRange)arg2 changeInLength:(long long)arg3;
169195
- (void)didEndTokenizedEditingWithRanges:(id)arg1;
170196
- (void)willStartTokenizedEditingWithRanges:(id)arg1;
171-
- (void)tokenizableRangesWithRange:(struct _NSRange)arg1 completionBlock:(id)arg2;
172197
- (void)_scheduleAutoHighlightTokenMenuTimerIfNeeded;
173198
- (void)_showAutoHighlightTokenMenuWithTimer:(id)arg1;
174199
- (id)_autoHighlightTokenWindowWithTokenRect:(struct CGRect)arg1;
@@ -182,16 +207,14 @@
182207
- (void)_clearAutoHighlightTokenMenu;
183208
- (void)removeStaticVisualizationView;
184209
- (void)addStaticVisualizationView:(id)arg1;
185-
- (void)removeVisualization:(id)arg1 fadeOut:(BOOL)arg2 completionBlock:(id)arg3;
186-
- (void)addVisualization:(id)arg1 fadeIn:(BOOL)arg2 completionBlock:(id)arg3;
187210
- (void)adjustTypeOverCompletionForSelectionChange:(struct _NSRange)arg1;
188211
- (void)removeInvalidTypeOverCompletion;
189212
- (void)removeTypeOverCompletionIfAppropriateForEditedRange:(struct _NSRange)arg1 changeInLength:(long long)arg2;
190213
- (void)adjustTypeOverCompletionForEditedRange:(struct _NSRange)arg1 changeInLength:(long long)arg2;
191214
- (void)addTypeOverCompletionForRange:(struct _NSRange)arg1 openRange:(struct _NSRange)arg2;
192215
- (struct _NSRange)lastTypeOverCompletionRange;
193216
- (struct _NSRange)typeOverCompletionRangeFollowingLocation:(unsigned long long)arg1;
194-
- (void)didInsertCompletionTextAtRange:(struct _NSRange)arg1;
217+
- (void)textCompletionSession:(id)arg1 didInsertCompletionItem:(id)arg2 range:(struct _NSRange)arg3;
195218
- (struct _NSRange)_suggestedOpenRangeForTypeOverRange:(struct _NSRange)arg1;
196219
- (BOOL)shouldAutoCompleteAtLocation:(unsigned long long)arg1;
197220
- (BOOL)shouldSuppressTextCompletion;
@@ -215,6 +238,7 @@
215238
- (void)paste:(id)arg1;
216239
- (void)_paste:(id)arg1 indent:(BOOL)arg2;
217240
- (void)insertNewline:(id)arg1;
241+
- (BOOL)handleInsertNewline;
218242
- (BOOL)handleInsertTab;
219243
- (BOOL)handleSelectPreviousPlaceholder;
220244
- (BOOL)handleSelectNextPlaceholder;
@@ -240,6 +264,7 @@
240264
- (void)mouseMoved:(id)arg1;
241265
- (void)_mouseInside:(id)arg1;
242266
- (void)resetCursorRects;
267+
- (void)keyDown:(id)arg1;
243268
- (void)removeFromSuperview;
244269
- (void)viewDidMoveToWindow;
245270
- (void)_refreshScrollerMarkers;
@@ -268,21 +293,22 @@
268293
- (void)toggleCodeFocus:(id)arg1;
269294
- (BOOL)codeFocusFollowsSelection;
270295
- (void)_drawViewBackgroundInRect:(struct CGRect)arg1;
296+
- (void)_drawCurrentLineHighlight:(struct CGRect)arg1;
271297
- (void)_drawCaretForTextAnnotationsInRect:(struct CGRect)arg1;
272298
- (void)drawTextAnnotationsInRect:(struct CGRect)arg1;
273299
- (long long)_drawRoundedBackgroundForFoldableBlockRangeAtLocation:(unsigned long long)arg1;
274300
- (double)_grayLevelForDepth:(long long)arg1;
275301
- (id)alternateColor;
276302
- (void)setFoldingHoverRange:(struct _NSRange)arg1;
277303
- (struct _NSRange)foldingHoverRange;
278-
- (void)_loadColorsFromCurrentTheme;
279-
- (void)_themeColorsChanged:(id)arg1;
304+
- (void)_loadFontsAndColorsFromTheme:(id)arg1;
305+
- (void)_fontAndColorSettingsChanged:(id)arg1;
280306
- (void)_scheduleAnnotationLayout;
281307
- (void)drawRect:(struct CGRect)arg1;
282308
- (void)prepareContentInRect:(struct CGRect)arg1;
283309
- (unsigned long long)foldedCharacterIndexForPoint:(struct CGPoint)arg1;
284310
- (void)setSelectedRanges:(id)arg1 affinity:(unsigned long long)arg2 stillSelecting:(BOOL)arg3;
285-
- (void)_delayedTrimTrailingWhitespaceForLine:(id)arg1;
311+
- (void)_delayedTrimTrailingWhitespaceForLines;
286312
- (void)trimTrailingWhitespaceOnLine:(unsigned long long)arg1;
287313
- (void)_trimTrailingWhitespaceOnLineAfterIndent:(unsigned long long)arg1 trimWhitespaceOnlyLine:(BOOL)arg2;
288314
- (void)trimTrailingWhitespaceOnLine:(unsigned long long)arg1 trimWhitespaceOnlyLine:(BOOL)arg2;
@@ -291,7 +317,6 @@
291317
- (void)setSelectedRange:(struct _NSRange)arg1;
292318
- (void)contextMenu_toggleMessageBubbleShown:(id)arg1;
293319
- (void)toggleMessageBubbleShown:(id)arg1;
294-
- (void)_enumerateMessageBubbleAnnotationsInSelection:(id)arg1;
295320
@property(readonly, getter=isAccessoryAnnotationCollapsed) BOOL accessoryAnnotationCollapsed;
296321
- (void)setAccessoryAnnotationWidth:(double)arg1;
297322
- (double)_maxAllowableAccessoryAnnotationWidth;
@@ -314,16 +339,14 @@
314339
- (struct _NSRange)lineNumberRangeForBoundingRect:(struct CGRect)arg1;
315340
- (unsigned long long)lineNumberForPoint:(struct CGPoint)arg1;
316341
- (id)printJobTitle;
317-
- (void)setIsCurrentlyDoingNonUserEditing:(BOOL)arg1;
318-
@property(readonly) BOOL isCurrentlyDoingNonUserEditing;
319-
@property(readonly) NSDictionary *syntaxColoringContext;
320342
- (id)language;
321343
- (BOOL)allowsCodeFolding;
322344
- (void)setAllowsCodeFolding:(BOOL)arg1;
323345
- (void)setTextStorage:(id)arg1;
324346
- (void)setTextStorage:(id)arg1 keepOldLayout:(BOOL)arg2;
325347
- (void)setTextContainer:(id)arg1;
326348
- (id)initWithCoder:(id)arg1;
349+
- (void)dealloc;
327350
- (id)initWithFrame:(struct CGRect)arg1 textContainer:(id)arg2;
328351
- (void)_commonInitDVTSourceTextView;
329352
- (id)menuForEvent:(id)arg1;

0 commit comments

Comments
 (0)