diff --git a/src/Data/Tree/tree_select.cpp b/src/Data/Tree/tree_select.cpp index b25159761fc11d0a327dbc10b28ca0e49a411ea5..721b543cc5c2b33796246278507b4778ebee6d83 100644 --- a/src/Data/Tree/tree_select.cpp +++ b/src/Data/Tree/tree_select.cpp @@ -327,6 +327,7 @@ table_search_coordinates (tree t, path p, int& row, int& col) { path table_search_cell (tree t, int row, int col) { + cout << "N(t): "<< N(t) << " col: " << col << " row: " << row << LF; path p; while (is_func (t, TFORMAT)) { p= p * (N (t) - 1); @@ -339,6 +340,7 @@ table_search_cell (tree t, int row, int col) { t= t[N (t) - 1]; } p= p * col; + cout << "N(t): "<< N(t) << " col: " << col << LF; t= t[col]; while (is_func (t, TFORMAT)) { p= p * (N (t) - 1); diff --git a/src/Edit/Replace/edit_select.cpp b/src/Edit/Replace/edit_select.cpp index 291b7419120a9770a0b43793f0159ed3103bcb6a..a6cd064ad8d30203120393975da9383484f0defb 100644 --- a/src/Edit/Replace/edit_select.cpp +++ b/src/Edit/Replace/edit_select.cpp @@ -423,6 +423,7 @@ edit_select_rep::compute_selection (path p1, path p2) { path fp= find_subtable_selection (et, p1, p2, row1, col1, row2, col2); tree st= subtree (et, fp); table_bound (fp, row1, col1, row2, col2); + cout << "row1: " << row1 << "\tcol1: " << col1 << "\trow2:" << row2 << "\tcol2: " << col2 << LF; int i, j; rectangle r (0, 0, 0, 0);