File tree Expand file tree Collapse file tree 5 files changed +59
-11
lines changed
Expand file tree Collapse file tree 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 {
6262 fileLineLength : number ;
6363 additionLength : number ;
6464 deletionLength : number ;
65- hasExpandSplitAll : boolean ;
66- hasExpandUnifiedAll : boolean ;
6765 hasSomeLineCollapsed : boolean ;
6866 static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
6967 static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -88,6 +86,8 @@ export declare class DiffFile {
8886 getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
8987 onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
9088 onAllExpand : ( mode : "split" | "unified" ) => void ;
89+ get hasExpandSplitAll ( ) : boolean ;
90+ get hasExpandUnifiedAll ( ) : boolean ;
9191 onAllCollapse : ( mode : "split" | "unified" ) => void ;
9292 getOldFileContent : ( ) => string ;
9393 getNewFileContent : ( ) => string ;
@@ -126,6 +126,12 @@ export declare class DiffFile {
126126 highlighterType : string ;
127127 composeByDiff : boolean ;
128128 hasSomeLineCollapsed : boolean ;
129+ hasExpandSplitAll : {
130+ state : boolean ;
131+ } ;
132+ hasExpandUnifiedAll : {
133+ state : boolean ;
134+ } ;
129135 version : string ;
130136 theme : "light" | "dark" ;
131137 isFullMerge : boolean ;
@@ -169,6 +175,12 @@ export declare class DiffFile {
169175 highlighterType : string ;
170176 composeByDiff : boolean ;
171177 hasSomeLineCollapsed : boolean ;
178+ hasExpandSplitAll : {
179+ state : boolean ;
180+ } ;
181+ hasExpandUnifiedAll : {
182+ state : boolean ;
183+ } ;
172184 version : string ;
173185 theme : "light" | "dark" ;
174186 } ;
Original file line number Diff line number Diff line change @@ -1209,11 +1209,11 @@ export class DiffFile {
12091209 this . notifyAll ( ) ;
12101210 } ;
12111211
1212- getHasExpandSplitAll ( ) {
1213- return this . #hasExpandSplitAll. state ;
1212+ get hasExpandSplitAll ( ) {
1213+ return this . #hasExpandSplitAll. state
12141214 }
12151215
1216- getHasExpandUnifiedAll ( ) {
1216+ get hasExpandUnifiedAll ( ) {
12171217 return this . #hasExpandUnifiedAll. state ;
12181218 }
12191219
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
6161 fileLineLength : number ;
6262 additionLength : number ;
6363 deletionLength : number ;
64- hasExpandSplitAll : boolean ;
65- hasExpandUnifiedAll : boolean ;
6664 hasSomeLineCollapsed : boolean ;
6765 static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
6866 static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
8785 getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
8886 onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
8987 onAllExpand : ( mode : "split" | "unified" ) => void ;
88+ get hasExpandSplitAll ( ) : boolean ;
89+ get hasExpandUnifiedAll ( ) : boolean ;
9090 onAllCollapse : ( mode : "split" | "unified" ) => void ;
9191 getOldFileContent : ( ) => string ;
9292 getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125125 highlighterType : string ;
126126 composeByDiff : boolean ;
127127 hasSomeLineCollapsed : boolean ;
128+ hasExpandSplitAll : {
129+ state : boolean ;
130+ } ;
131+ hasExpandUnifiedAll : {
132+ state : boolean ;
133+ } ;
128134 version : string ;
129135 theme : "light" | "dark" ;
130136 isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168174 highlighterType : string ;
169175 composeByDiff : boolean ;
170176 hasSomeLineCollapsed : boolean ;
177+ hasExpandSplitAll : {
178+ state : boolean ;
179+ } ;
180+ hasExpandUnifiedAll : {
181+ state : boolean ;
182+ } ;
171183 version : string ;
172184 theme : "light" | "dark" ;
173185 } ;
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
6161 fileLineLength : number ;
6262 additionLength : number ;
6363 deletionLength : number ;
64- hasExpandSplitAll : boolean ;
65- hasExpandUnifiedAll : boolean ;
6664 hasSomeLineCollapsed : boolean ;
6765 static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
6866 static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
8785 getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
8886 onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
8987 onAllExpand : ( mode : "split" | "unified" ) => void ;
88+ get hasExpandSplitAll ( ) : boolean ;
89+ get hasExpandUnifiedAll ( ) : boolean ;
9090 onAllCollapse : ( mode : "split" | "unified" ) => void ;
9191 getOldFileContent : ( ) => string ;
9292 getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125125 highlighterType : string ;
126126 composeByDiff : boolean ;
127127 hasSomeLineCollapsed : boolean ;
128+ hasExpandSplitAll : {
129+ state : boolean ;
130+ } ;
131+ hasExpandUnifiedAll : {
132+ state : boolean ;
133+ } ;
128134 version : string ;
129135 theme : "light" | "dark" ;
130136 isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168174 highlighterType : string ;
169175 composeByDiff : boolean ;
170176 hasSomeLineCollapsed : boolean ;
177+ hasExpandSplitAll : {
178+ state : boolean ;
179+ } ;
180+ hasExpandUnifiedAll : {
181+ state : boolean ;
182+ } ;
171183 version : string ;
172184 theme : "light" | "dark" ;
173185 } ;
Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ export declare class DiffFile {
6161 fileLineLength : number ;
6262 additionLength : number ;
6363 deletionLength : number ;
64- hasExpandSplitAll : boolean ;
65- hasExpandUnifiedAll : boolean ;
6664 hasSomeLineCollapsed : boolean ;
6765 static createInstance ( data : FileData_1 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
6866 static createInstance ( data : FileData_2 , bundle ?: ReturnType < DiffFile [ "getBundle" ] | DiffFile [ "_getFullBundle" ] > ) : DiffFile ;
@@ -87,6 +85,8 @@ export declare class DiffFile {
8785 getUnifiedHunkLine : ( index : number ) => DiffHunkItem ;
8886 onUnifiedHunkExpand : ( dir : "up" | "down" | "all" , index : number , needTrigger ?: boolean ) => void ;
8987 onAllExpand : ( mode : "split" | "unified" ) => void ;
88+ get hasExpandSplitAll ( ) : boolean ;
89+ get hasExpandUnifiedAll ( ) : boolean ;
9090 onAllCollapse : ( mode : "split" | "unified" ) => void ;
9191 getOldFileContent : ( ) => string ;
9292 getNewFileContent : ( ) => string ;
@@ -125,6 +125,12 @@ export declare class DiffFile {
125125 highlighterType : string ;
126126 composeByDiff : boolean ;
127127 hasSomeLineCollapsed : boolean ;
128+ hasExpandSplitAll : {
129+ state : boolean ;
130+ } ;
131+ hasExpandUnifiedAll : {
132+ state : boolean ;
133+ } ;
128134 version : string ;
129135 theme : "light" | "dark" ;
130136 isFullMerge : boolean ;
@@ -168,6 +174,12 @@ export declare class DiffFile {
168174 highlighterType : string ;
169175 composeByDiff : boolean ;
170176 hasSomeLineCollapsed : boolean ;
177+ hasExpandSplitAll : {
178+ state : boolean ;
179+ } ;
180+ hasExpandUnifiedAll : {
181+ state : boolean ;
182+ } ;
171183 version : string ;
172184 theme : "light" | "dark" ;
173185 } ;
You can’t perform that action at this time.
0 commit comments