удаление отладочной печати сравнения и не только

This commit is contained in:
2024-07-22 00:57:05 +03:00
parent 3374c9783b
commit 53ad5e637f
76 changed files with 78 additions and 328 deletions

View File

@@ -195,13 +195,11 @@ public class DataSetControlForm extends ControlWithCurrentForm<DataTable> {
//обновление в БД при ручном изменении размера столбиков.--------->>
getTableHeader().addMouseListener(new MouseAdapter() {
public void mouseReleased(MouseEvent arg0) {
System.out.println("Header mouse released");
String new_colNamesAndSizes = getColumnsProfile();
// check if changed, if yes, persist...
if (!colNamesAndSizes.equals(new_colNamesAndSizes)) {
colNamesAndSizes = new_colNamesAndSizes;
SaveColumns();
System.out.println("columns updated");
}
}
});
@@ -216,7 +214,6 @@ public class DataSetControlForm extends ControlWithCurrentForm<DataTable> {
if ((row >= 0)) {
if (row != current_row_i) {
current_row_i = row;
// System.out.println("current row_i="+current_row_i);
getDataSource().setCurrent(control.getRowObject(row));
if (events_on) {
try {
@@ -228,7 +225,6 @@ public class DataSetControlForm extends ControlWithCurrentForm<DataTable> {
}
} else {
current_row_i = Constants.Nan;
// System.out.println("no current row_i="+current_row_i);
getDataSource().dropCurrent();
if (events_on) {
try {

View File

@@ -29,12 +29,10 @@ public abstract class ProvidedTokenMaker extends AbstractTokenMaker {
public abstract void Body(TokenProvider provider);
public abstract void performFinish(TokenProvider provider);
public Token getTokenList(Segment text, int startTokenType, int startOffset) {
// System.out.println(Utils.Brackets(text.toString()));
resetTokenList();
//структура для хранения индексов смещений, текущего состояния и т д.
TokenProvider provider = new TokenProvider(text, startTokenType, startOffset);
// provider.checkFortranWrap();
// System.out.println(this.);
while (provider.canRead()) {
provider.readNext();
Body(provider);

View File

@@ -356,10 +356,8 @@ public class UI {
}
}
public static void refreshTheme_r(Accessible accessible) {
// System.out.println(accessible.getClass().getSimpleName() + ": children_count: ");
AccessibleContext context = accessible.getAccessibleContext();
if (accessible instanceof ThemeElement) {
// System.out.println(accessible.getClass().getSimpleName() + ": refresh theme");
((ThemeElement) accessible).applyTheme();
} else {
if ((accessible instanceof JPanel) ||
@@ -390,8 +388,8 @@ public class UI {
Component res = null;
try {
res = windowsStack.peek();
} catch (Exception ex) {
System.out.println("NO FRONT WINDOW FOUND");
} catch (Exception ignored){
}
return res;
}

View File

@@ -54,7 +54,6 @@ public class Dialog<T, F extends DialogFields> extends JDialog implements ThemeE
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
UI.windowsStack.pop();
System.out.println("Previous Front Window");
onCancel();
onClose();
}
@@ -121,7 +120,6 @@ public class Dialog<T, F extends DialogFields> extends JDialog implements ThemeE
ShowTitle();
setAlwaysOnTop(isOnTop());
UI.windowsStack.push(this);
System.out.println("New Front Window");
setVisible(true);
return OK;
}

View File

@@ -62,7 +62,6 @@ public class SearchReplaceForm extends Form {
}
public void setMode(boolean replace) {
replace_mode = replace;
System.out.println("MODE CHANGED");
tfReplace.setEnabled(replace_mode);
String prefix = replace_mode ? "Заменить" : "Найти";
bNext.setText(prefix + " далее");
@@ -103,9 +102,6 @@ public class SearchReplaceForm extends Form {
public void applyParams() {
String toFind = Utils.hideRegularMetasymbols(tfFind.getText());
String toReplace = Utils.hideRegularMetasymbols(tfReplace.getText());
System.out.println("toFind=" + toFind);
System.out.println("toReplace" + toReplace);
System.out.println("============");
context.setSearchFor(toFind);
context.setMatchCase(registerOn.isSelected());
context.setWholeWord(wholeWordOn.isSelected());