Add ui preference to render entire file.
This will cause all lines in the file to be added to the DOM. While being slower (especially for large files) it allows the browser handle searching the file contents. Change-Id: I31a9ebb079ec38ecf4fdb62ec073043723fe586f
This commit is contained in:
@@ -122,6 +122,9 @@ public class AccountDiffPreference {
|
||||
@Column(id = 17)
|
||||
protected boolean hideLineNumbers;
|
||||
|
||||
@Column(id = 18)
|
||||
protected boolean renderEntireFile;
|
||||
|
||||
protected AccountDiffPreference() {
|
||||
}
|
||||
|
||||
@@ -147,6 +150,7 @@ public class AccountDiffPreference {
|
||||
this.manualReview = p.manualReview;
|
||||
this.hideTopMenu = p.hideTopMenu;
|
||||
this.hideLineNumbers = p.hideLineNumbers;
|
||||
this.renderEntireFile = p.renderEntireFile;
|
||||
}
|
||||
|
||||
public Account.Id getAccountId() {
|
||||
@@ -283,4 +287,12 @@ public class AccountDiffPreference {
|
||||
public void setHideLineNumbers(boolean hide) {
|
||||
hideLineNumbers = hide;
|
||||
}
|
||||
|
||||
public boolean isRenderEntireFile() {
|
||||
return renderEntireFile;
|
||||
}
|
||||
|
||||
public void setRenderEntireFile(boolean render) {
|
||||
renderEntireFile = render;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user