File tree 5 files changed +59
-11
lines changed
5 files changed +59
-11
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ export declare class DiffFile {
62
62
fileLineLength : number ;
63
63
additionLength : number ;
64
64
deletionLength : number ;
65
- hasExpandSplitAll : boolean ;
66
- hasExpandUnifiedAll : boolean ;
67
65
hasSomeLineCollapsed : boolean ;
68
66
static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
69
67
static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -88,6 +86,8 @@ export declare class DiffFile {
88
86
getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
89
87
onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
90
88
onAllExpand : ( mode : "split" | "unified" ) => void ;
89
+ get hasExpandSplitAll ( ) : boolean ;
90
+ get hasExpandUnifiedAll ( ) : boolean ;
91
91
onAllCollapse : ( mode : "split" | "unified" ) => void ;
92
92
getOldFileContent : ( ) => string ;
93
93
getNewFileContent : ( ) => string ;
@@ -126,6 +126,12 @@ export declare class DiffFile {
126
126
highlighterType : string ;
127
127
composeByDiff : boolean ;
128
128
hasSomeLineCollapsed : boolean ;
129
+ hasExpandSplitAll : {
130
+ state : boolean ;
131
+ } ;
132
+ hasExpandUnifiedAll : {
133
+ state : boolean ;
134
+ } ;
129
135
version : string ;
130
136
theme : "light" | "dark" ;
131
137
isFullMerge : boolean ;
@@ -169,6 +175,12 @@ export declare class DiffFile {
169
175
highlighterType : string ;
170
176
composeByDiff : boolean ;
171
177
hasSomeLineCollapsed : boolean ;
178
+ hasExpandSplitAll : {
179
+ state : boolean ;
180
+ } ;
181
+ hasExpandUnifiedAll : {
182
+ state : boolean ;
183
+ } ;
172
184
version : string ;
173
185
theme : "light" | "dark" ;
174
186
} ;
Original file line number Diff line number Diff line change @@ -1209,11 +1209,11 @@ export class DiffFile {
1209
1209
this . notifyAll ( ) ;
1210
1210
} ;
1211
1211
1212
- getHasExpandSplitAll ( ) {
1213
- return this . #hasExpandSplitAll. state ;
1212
+ get hasExpandSplitAll ( ) {
1213
+ return this . #hasExpandSplitAll. state
1214
1214
}
1215
1215
1216
- getHasExpandUnifiedAll ( ) {
1216
+ get hasExpandUnifiedAll ( ) {
1217
1217
return this . #hasExpandUnifiedAll. state ;
1218
1218
}
1219
1219
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
61
61
fileLineLength : number ;
62
62
additionLength : number ;
63
63
deletionLength : number ;
64
- hasExpandSplitAll : boolean ;
65
- hasExpandUnifiedAll : boolean ;
66
64
hasSomeLineCollapsed : boolean ;
67
65
static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
68
66
static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
87
85
getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
88
86
onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
89
87
onAllExpand : ( mode : "split" | "unified" ) => void ;
88
+ get hasExpandSplitAll ( ) : boolean ;
89
+ get hasExpandUnifiedAll ( ) : boolean ;
90
90
onAllCollapse : ( mode : "split" | "unified" ) => void ;
91
91
getOldFileContent : ( ) => string ;
92
92
getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125
125
highlighterType : string ;
126
126
composeByDiff : boolean ;
127
127
hasSomeLineCollapsed : boolean ;
128
+ hasExpandSplitAll : {
129
+ state : boolean ;
130
+ } ;
131
+ hasExpandUnifiedAll : {
132
+ state : boolean ;
133
+ } ;
128
134
version : string ;
129
135
theme : "light" | "dark" ;
130
136
isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168
174
highlighterType : string ;
169
175
composeByDiff : boolean ;
170
176
hasSomeLineCollapsed : boolean ;
177
+ hasExpandSplitAll : {
178
+ state : boolean ;
179
+ } ;
180
+ hasExpandUnifiedAll : {
181
+ state : boolean ;
182
+ } ;
171
183
version : string ;
172
184
theme : "light" | "dark" ;
173
185
} ;
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
61
61
fileLineLength : number ;
62
62
additionLength : number ;
63
63
deletionLength : number ;
64
- hasExpandSplitAll : boolean ;
65
- hasExpandUnifiedAll : boolean ;
66
64
hasSomeLineCollapsed : boolean ;
67
65
static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
68
66
static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
87
85
getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
88
86
onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
89
87
onAllExpand : ( mode : "split" | "unified" ) => void ;
88
+ get hasExpandSplitAll ( ) : boolean ;
89
+ get hasExpandUnifiedAll ( ) : boolean ;
90
90
onAllCollapse : ( mode : "split" | "unified" ) => void ;
91
91
getOldFileContent : ( ) => string ;
92
92
getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125
125
highlighterType : string ;
126
126
composeByDiff : boolean ;
127
127
hasSomeLineCollapsed : boolean ;
128
+ hasExpandSplitAll : {
129
+ state : boolean ;
130
+ } ;
131
+ hasExpandUnifiedAll : {
132
+ state : boolean ;
133
+ } ;
128
134
version : string ;
129
135
theme : "light" | "dark" ;
130
136
isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168
174
highlighterType : string ;
169
175
composeByDiff : boolean ;
170
176
hasSomeLineCollapsed : boolean ;
177
+ hasExpandSplitAll : {
178
+ state : boolean ;
179
+ } ;
180
+ hasExpandUnifiedAll : {
181
+ state : boolean ;
182
+ } ;
171
183
version : string ;
172
184
theme : "light" | "dark" ;
173
185
} ;
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
61
61
fileLineLength : number ;
62
62
additionLength : number ;
63
63
deletionLength : number ;
64
- hasExpandSplitAll : boolean ;
65
- hasExpandUnifiedAll : boolean ;
66
64
hasSomeLineCollapsed : boolean ;
67
65
static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
68
66
static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
87
85
getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
88
86
onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
89
87
onAllExpand : ( mode : "split" | "unified" ) => void ;
88
+ get hasExpandSplitAll ( ) : boolean ;
89
+ get hasExpandUnifiedAll ( ) : boolean ;
90
90
onAllCollapse : ( mode : "split" | "unified" ) => void ;
91
91
getOldFileContent : ( ) => string ;
92
92
getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125
125
highlighterType : string ;
126
126
composeByDiff : boolean ;
127
127
hasSomeLineCollapsed : boolean ;
128
+ hasExpandSplitAll : {
129
+ state : boolean ;
130
+ } ;
131
+ hasExpandUnifiedAll : {
132
+ state : boolean ;
133
+ } ;
128
134
version : string ;
129
135
theme : "light" | "dark" ;
130
136
isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168
174
highlighterType : string ;
169
175
composeByDiff : boolean ;
170
176
hasSomeLineCollapsed : boolean ;
177
+ hasExpandSplitAll : {
178
+ state : boolean ;
179
+ } ;
180
+ hasExpandUnifiedAll : {
181
+ state : boolean ;
182
+ } ;
171
183
version : string ;
172
184
theme : "light" | "dark" ;
173
185
} ;
You can’t perform that action at this time.
0 commit comments