Home
last modified time | relevance | path

Searched refs:tlcol (Results 1 – 18 of 18) sorted by relevance

/dports/math/sc-im/sc-im-0.8.2/src/
H A Dcmds_visual.c92 r->tlcol = tlcol; in start_visualmode()
181 r->tlcol = curcol; in do_visualmode()
256 } else if (r->tlcol <= r->brcol && r->tlcol-1 >= 0) { in do_visualmode()
263 if (r->orig_col <= r->tlcol && r->tlcol <= r->brcol && r->brcol+2 < maxcols) { in do_visualmode()
273 r->brcol = r->tlcol; in do_visualmode()
275 curcol = r->tlcol; in do_visualmode()
280 r->tlcol = r->brcol; in do_visualmode()
304 r->tlcol = e->col; in do_visualmode()
308 curcol = r->tlcol; in do_visualmode()
318 curcol = r->tlcol; in do_visualmode()
[all …]
H A Dundo.c645 urs->tlcol = tlcol; in save_undo_range_shift()
854 …ge_shift->brcol - ul->range_shift->tlcol + 1), ul->range_shift->tlrow, ul->range_shift->brrow, ul-… in do_undo()
856 …ge_shift->brcol - ul->range_shift->tlcol + 1), ul->range_shift->tlrow, ul->range_shift->brrow, ul-… in do_undo()
859 fix_col_hidden(ul->range_shift->delta_cols, ul->range_shift->tlcol, maxcol); in do_undo()
865 fix_col_frozen(ul->range_shift->delta_cols, ul->range_shift->tlcol, maxcol); in do_undo()
881 for (i = maxcol; i >= ul->range_shift->tlcol - ul->range_shift->delta_cols; i--) { in do_undo()
1083 …ge_shift->brcol - ul->range_shift->tlcol + 1), ul->range_shift->tlrow, ul->range_shift->brrow, ul-… in do_redo()
1085 …ge_shift->brcol - ul->range_shift->tlcol + 1), ul->range_shift->tlrow, ul->range_shift->brrow, ul-… in do_redo()
1088 fix_col_hidden(-ul->range_shift->delta_cols, ul->range_shift->tlcol, maxcol); in do_redo()
1098 for (i = maxcol; i >= ul->range_shift->tlcol + ul->range_shift->delta_cols; i--) { in do_redo()
[all …]
H A Drange.c76 int tlrow, tlcol, brrow, brcol; in create_range() local
80 tlcol = tl->col; in create_range()
89 tlcol = mc->col < md->col ? mc->col : md->col; in create_range()
99 if ( col_hidden[tlcol] || col_hidden[brcol] ) { in create_range()
111 r->tlcol = tlcol; in create_range()
123 curcol = r->tlcol; in create_range()
297 srange * create_custom_range(int tlrow, int tlcol, int brrow, int brcol) { in create_custom_range() argument
300 srn->tlcol = tlcol; in create_custom_range()
H A Dcmds_normal.c209 c = sr->tlcol; in do_normalmode()
235 c = sr->tlcol; in do_normalmode()
526 c = sr->tlcol; in do_normalmode()
684 c = sr->tlcol; in do_normalmode()
717 c = sr->tlcol; in do_normalmode()
741 c = sr->tlcol; in do_normalmode()
903 int tlcol = curcol; in do_normalmode() local
907 int * tlc = &tlcol; in do_normalmode()
923 c = sr->tlcol; in do_normalmode()
1075 c = sr->tlcol; in do_normalmode()
[all …]
H A Dcmds_command.c417 c = sr->tlcol; in do_commandmode()
504 r = sr->tlcol; in do_commandmode()
514 c = sr->tlcol; in do_commandmode()
528 c = sr->tlcol; in do_commandmode()
562 c = sr->tlcol; in do_commandmode()
704 c = sr->tlcol; in do_commandmode()
753 c = sr->tlcol; in do_commandmode()
786 c = sr->tlcol; in do_commandmode()
815 c = sr->tlcol; in do_commandmode()
827 c = sr->tlcol; in do_commandmode()
[all …]
H A Dshift.c164 void shift_range(int delta_rows, int delta_cols, int tlrow, int tlcol, int brrow, int brcol) { in shift_range() argument
166 curcol = tlcol; in shift_range()
168 if (delta_rows > 0) shift_cells_down (brrow - tlrow + 1, brcol - tlcol + 1); in shift_range()
169 else if (delta_rows < 0) shift_cells_up (brrow - tlrow + 1, brcol - tlcol + 1); in shift_range()
171 if (delta_cols > 0) shift_cells_right(brrow - tlrow + 1, brcol - tlcol + 1); in shift_range()
172 else if (delta_cols < 0) shift_cells_left (brrow - tlrow + 1, brcol - tlcol + 1); in shift_range()
H A Drange.h49 int tlcol; // top left col member
75 srange * create_custom_range(int tlrow, int tlcol, int brrow, int brcol);
H A Dundo.h74 int tlcol; member
108 void save_undo_range_shift(int delta_rows, int delta_cols, int tlrow, int tlcol, int brrow, int brc…
H A Dyank.c177 void yank_area(int tlrow, int tlcol, int brrow, int brcol, char type, int arg) { in yank_area() argument
185 … struct ent * y_cells = (struct ent *) calloc((brrow-tlrow+1)*(brcol-tlcol+1), sizeof(struct ent)); in yank_area()
188 for (c = tlcol; c <= brcol; c++) { in yank_area()
H A Dcmds_visual.h45 void start_visualmode(int tlrow, int tlcol, int brrow, int brcol);
H A Dyank.h61 void yank_area(int tlrow, int tlcol, int brrow, int brcol, char c, int arg);
H A Dshift.h50 void shift_range(int delta_rows, int delta_cols, int tlrow, int tlcol, int brrow, int brcol);
H A Ddep_graph.h90 void EvalRange(int tlrow, int tlcol, int brrow, int brcol);
H A Dcmds.c1130 int tlcol = curcol; in del_selected_cells() local
1138 tlcol = r->tlcol; in del_selected_cells()
1143 if (any_locked_cells(tlrow, tlcol, brrow, brcol)) { in del_selected_cells()
1149 yank_area(tlrow, tlcol, brrow, brcol, 'a', 1); in del_selected_cells()
1151 yank_area(tlrow, tlcol, brrow, brcol, 'e', 1); in del_selected_cells()
1156 ents_that_depends_on_range(tlrow, tlcol, brrow, brcol); in del_selected_cells()
1157 copy_to_undostruct(tlrow, tlcol, brrow, brcol, UNDO_DEL, HANDLE_DEPS, NULL); in del_selected_cells()
1165 EvalRange(tlrow, tlcol, brrow, brcol); in del_selected_cells()
1169 copy_to_undostruct(tlrow, tlcol, brrow, brcol, UNDO_ADD, HANDLE_DEPS, NULL); in del_selected_cells()
1568 c = m->rng->tlcol; in tick()
[all …]
H A Ddep_graph.c729 void EvalRange(int tlrow, int tlcol, int brrow, int brcol) { in EvalRange() argument
737 fa = tlrow, fb = brrow, ga = tlcol, gb = brcol; in EvalRange()
739 fa = tlcol, fb = brcol, ga = tlrow, gb = brrow; in EvalRange()
H A Dtui.c766 if ( (s != NULL && i >= s->tlcol && i <= s->brcol) || i == curcol ) { in ui_show_sc_col_headings()
879 … if (s != NULL && row >= s->tlrow && row <= s->brrow && col >= s->tlcol && col <= s->brcol ) { in ui_show_content()
890 col >= ranges->tlcol && col <= ranges->brcol in ui_show_content()
947 col >= ranges->tlcol && col <= ranges->brcol ) ) { in ui_show_content()
H A Dcmds_insert.c278 …swprintf(cline, BUFFERSIZE, L"%s%d:", coltoa(get_mark(sb->pnext->value)->rng->tlcol), get_mark(sb-… in do_insertmode()
H A Dfile.c646 fprintf(f, "mark %c %s%d ", i, coltoa(m->rng->tlcol), m->rng->tlrow); in write_marks()