перенос настроек сравнения в проперти

This commit is contained in:
2025-01-10 22:22:23 +03:00
parent 10a4ebfe43
commit 0b7b793571
11 changed files with 78 additions and 58 deletions

View File

@@ -96,6 +96,19 @@ public class GlobalProperties {
public int lastUserId = CommonConstants.Nan;
@Expose
public int lastCompilerId = CommonConstants.Nan;
//--
@Expose
public boolean RegisterOn=false;
@Expose
public boolean SpacesOn=false;
@Expose
public boolean EmptyLinesOn=false;
@Expose
public boolean FortranWrapsOn=false;
@Expose
public boolean ExtensionsOn=false;
@Expose
public boolean ComparsionDiffMergeOn=false;
public GlobalProperties(GlobalProperties p) {
super();
Mode = p.Mode;
@@ -147,6 +160,18 @@ public class GlobalProperties {
//-----------------
public String getFieldDescription(String fieldName) {
switch (fieldName) {
case "ExtensionsOn":
return "Учитывать расширения файлов";
case "FortranWrapsOn":
return "Учитывать переносы";
case "EmptyLinesOn":
return "Учитывать пустые строки";
case "SpacesOn":
return "Учитывать пробелы и табуляции";
case "RegisterOn":
return "Учитывать регистр";
case "ComparsionDiffMergeOn":
return "Автоматическое сравнение";
case "AutoBugReportsLoad":
return "Автоматическая синхронизация отчётов об ошибках";
case "AutoTestsLoad":