@@ -23,30 +23,7 @@ extern NSString * const TextStorageHasMixedLineEndingsDidChange;
2323extern NSString * const BlockeditAttributeName ;
2424extern NSString * const BlockeditAttributeValue;
2525
26- @interface FoldableTextStorage : AbstractFoldingTextStorage {
27- FullTextStorage *I_fullTextStorage;
28- NSMutableArray *I_sortedFoldedTextAttachments;
29- NSMutableAttributedString *I_internalAttributedString;
30-
31- int I_editingCount;
32-
33- struct {
34- BOOL hasBlockeditRanges;
35- BOOL isBlockediting;
36- BOOL didBlockedit;
37- NSRange didBlockeditRange;
38- NSRange didBlockeditLineRange;
39- } I_blockedit;
40-
41-
42- struct {
43- int length;
44- int characterOffset;
45- int startLine;
46- int endLine;
47- } I_scriptingProperties;
48-
49- }
26+ @interface FoldableTextStorage : AbstractFoldingTextStorage
5027
5128- (NSRange )foldedRangeForFullRange : (NSRange )inRange ;
5229- (NSRange )foldedRangeForFullRange : (NSRange )inRange expandIfFolded : (BOOL )aFlag ;
@@ -73,7 +50,6 @@ extern NSString * const BlockeditAttributeValue;
7350- (void )foldAccordingToDataRepresentation : (NSData *)aData ;
7451- (NSData *)dataRepresentationOfFoldedRangesWithMaxDepth : (int )aMaxDepth ;
7552
76-
7753#pragma mark line numbers
7854- (int )lineNumberForLocation : (unsigned )location ;
7955- (NSString *)positionStringForRange : (NSRange )aRange ;
@@ -93,7 +69,6 @@ extern NSString * const BlockeditAttributeValue;
9369
9470- (void )stopBlockedit ;
9571
96-
9772#pragma mark debug output
9873- (NSMutableAttributedString *)attributedStringOfFolding : (FoldedTextAttachment *)inAttachment ;
9974- (NSString *)foldedStringRepresentationOfRange : (NSRange )inRange foldings : (NSArray *)inFoldings level : (int )inLevel ;
@@ -107,8 +82,6 @@ extern NSString * const BlockeditAttributeValue;
10782- (NSStringEncoding )encoding ;
10883- (void )setEncoding : (NSStringEncoding )anEncoding ;
10984- (NSArray *)selectionOperationsForRangesUnconvertableToEncoding : (NSStringEncoding )encoding ;
110-
111-
11285@end
11386
11487@protocol FoldableTextStorageDelegate
@@ -130,8 +103,6 @@ extern NSString * const BlockeditAttributeValue;
130103#pragma mark -
131104
132105@interface FoldableTextStorage (TextStorageScriptingAdditions)
133-
134-
135106- (NSRange )rangeRepresentation ;
136107- (NSNumber *)scriptedLength ;
137108- (NSNumber *)scriptedStartCharacterIndex ;
@@ -145,7 +116,4 @@ extern NSString * const BlockeditAttributeValue;
145116// - (id)insertionPoints;
146117// - (NSArray *)scriptedCharacters;
147118// - (NSArray *)scriptedLines;
148-
149119@end
150-
151- // #endif
0 commit comments