Home
last modified time | relevance | path

Searched refs:top_col (Results 1 – 25 of 39) sorted by relevance

12

/dports/chinese/tintin++/tt/src/
H A Dsplit.c119 void init_split(struct session *ses, int top_row, int top_col, int bot_row, int bot_col) in init_split() argument
121 push_call("init_split(%p,%d,%d,%d,%d)",ses,top_row,top_col,bot_row,bot_col); in init_split()
130 ses->split->top_col = 1; in init_split()
149 ses->split->top_col = top_col > 0 ? top_col : top_col < 0 ? gtd->screen->cols + top_col + 1 : 1; in init_split()
156 …ses->split->top_col = top_col > 0 ? top_col + 1 : top_col < 0 ? gtd->screen->cols + top_col + 1 : … in init_split()
162 ses->split->top_col = URANGE(1, ses->split->top_col, gtd->screen->cols - 2); in init_split()
164 ses->split->bot_col = URANGE(ses->split->top_col + 1, ses->split->bot_col, gtd->screen->cols); in init_split()
167 ses->split->sav_top_col = ses->split->top_col - 1; in init_split()
171 ses->wrap = ses->split->bot_col - (ses->split->top_col - 1); in init_split()
175 init_pos(ses, ses->input->top_row, ses->input->top_col); in init_split()
[all …]
H A Ddraw.c484 if (top_col == 0) in DO_COMMAND()
486 top_col = 1; in DO_COMMAND()
677 (*top_col)--; in scale_drawing()
679 *cols = 1 + *bot_col - *top_col; in scale_drawing()
1622 goto_pos(ses, row, top_col); in DO_DRAW()
1640 if (top_col == bot_col) in DO_DRAW()
2266 top_c = top_col + c; in DO_DRAW()
2339 top_c = top_col + c * max_c; in DO_DRAW()
2354 top_c = top_col + c * max_c; in DO_DRAW()
2498 col = top_col; in DO_DRAW()
[all …]
H A Dscreen.c385 int top_row, top_col, bot_row, bot_col; in DO_SCREEN() local
953 top_col = get_number(ses, arg2); in DO_SCREEN()
976 ses->split->sav_top_col = top_col; in DO_SCREEN()
1007 top_col = get_number(ses, arg2); in DO_SCREEN()
1536 if (ses->split->top_col > 1) in erase_left_region()
1575 goto_pos(ses, row, top_col); in erase_square()
1652 if (ses->split->top_col > 1) in fill_left_region()
1822 if (col < ses->split->top_col) in inside_scroll_region()
1863 gts->input->top_col = 1; in init_screen()
1946 col -= ses->split->top_col; in get_link_screen()
[all …]
H A Dinput.c957 void init_input(struct session *ses, int top_row, int top_col, int bot_row, int bot_col) in init_input() argument
959 push_call("init_input(%p,%d,%d,%d,%d)",ses,top_row,top_col,bot_row,bot_col); in init_input()
976 if (top_row && top_col && bot_row && bot_col) in init_input()
979 ses->input->sav_top_col = top_col; in init_input()
1002 top_col = get_col_index(ses, ses->input->sav_top_col); in init_input()
1007 ses->input->top_col = top_col; in init_input()
H A Devent.c618 …if (row >= ses->input->top_row && row <= ses->input->bot_row && col >= ses->input->top_col && row … in mouse_event_handler()
620 …1, arg2, ntos(row), ntos(col - (ses->input->top_col - 1)), ntos(rev_row), ntos(rev_col - (ses->inp… in mouse_event_handler()
H A Dtintin.h1240 int top_col; member
1304 int top_col; member
1424 int top_col; member
1597 int top_col; member
2053 extern void init_input(struct session *ses, int top_row, int top_col, int bot_row, int bot_col);
2652 extern void init_inputregion(struct session *ses, int top_row, int top_col, int bot_row, int bot_co…
2668 extern void erase_square(struct session *ses, int top_row, int top_col, int bot_row, int bot_col);
/dports/net/tintin++/tt/src/
H A Dsplit.c119 void init_split(struct session *ses, int top_row, int top_col, int bot_row, int bot_col) in init_split() argument
121 push_call("init_split(%p,%d,%d,%d,%d)",ses,top_row,top_col,bot_row,bot_col); in init_split()
130 ses->split->top_col = 1; in init_split()
149 ses->split->top_col = top_col > 0 ? top_col : top_col < 0 ? gtd->screen->cols + top_col + 1 : 1; in init_split()
156 …ses->split->top_col = top_col > 0 ? top_col + 1 : top_col < 0 ? gtd->screen->cols + top_col + 1 : … in init_split()
162 ses->split->top_col = URANGE(1, ses->split->top_col, gtd->screen->cols - 2); in init_split()
164 ses->split->bot_col = URANGE(ses->split->top_col + 1, ses->split->bot_col, gtd->screen->cols); in init_split()
167 ses->split->sav_top_col = ses->split->top_col - 1; in init_split()
171 ses->wrap = ses->split->bot_col - (ses->split->top_col - 1); in init_split()
175 init_pos(ses, ses->input->top_row, ses->input->top_col); in init_split()
[all …]
H A Ddraw.c484 if (top_col == 0) in DO_COMMAND()
486 top_col = 1; in DO_COMMAND()
677 (*top_col)--; in scale_drawing()
679 *cols = 1 + *bot_col - *top_col; in scale_drawing()
1622 goto_pos(ses, row, top_col); in DO_DRAW()
1640 if (top_col == bot_col) in DO_DRAW()
2266 top_c = top_col + c; in DO_DRAW()
2339 top_c = top_col + c * max_c; in DO_DRAW()
2354 top_c = top_col + c * max_c; in DO_DRAW()
2498 col = top_col; in DO_DRAW()
[all …]
H A Dscreen.c385 int top_row, top_col, bot_row, bot_col; in DO_SCREEN() local
953 top_col = get_number(ses, arg2); in DO_SCREEN()
976 ses->split->sav_top_col = top_col; in DO_SCREEN()
1007 top_col = get_number(ses, arg2); in DO_SCREEN()
1536 if (ses->split->top_col > 1) in erase_left_region()
1575 goto_pos(ses, row, top_col); in erase_square()
1652 if (ses->split->top_col > 1) in fill_left_region()
1822 if (col < ses->split->top_col) in inside_scroll_region()
1863 gts->input->top_col = 1; in init_screen()
1946 col -= ses->split->top_col; in get_link_screen()
[all …]
H A Dinput.c957 void init_input(struct session *ses, int top_row, int top_col, int bot_row, int bot_col) in init_input() argument
959 push_call("init_input(%p,%d,%d,%d,%d)",ses,top_row,top_col,bot_row,bot_col); in init_input()
976 if (top_row && top_col && bot_row && bot_col) in init_input()
979 ses->input->sav_top_col = top_col; in init_input()
1002 top_col = get_col_index(ses, ses->input->sav_top_col); in init_input()
1007 ses->input->top_col = top_col; in init_input()
H A Devent.c618 …if (row >= ses->input->top_row && row <= ses->input->bot_row && col >= ses->input->top_col && row … in mouse_event_handler()
620 …1, arg2, ntos(row), ntos(col - (ses->input->top_col - 1)), ntos(rev_row), ntos(rev_col - (ses->inp… in mouse_event_handler()
/dports/x11-toolkits/mowitz/Mowitz-0.2.1/Mowitz/
H A DMwTable.c84 offset(top_col),
595 for (j = tw->table.top_col; x_base < width; j++) { in cell_row()
677 while (cell_col < tw->table.top_col) { in table_cell2coords()
681 while (cell_col > tw->table.top_col) { in table_cell2coords()
713 while (cell_col < tw->table.top_col) { in MwTableZoomedCellToCoords()
718 while (cell_col > tw->table.top_col) { in MwTableZoomedCellToCoords()
738 *cur_col = tw->table.top_col; in table_coords2cell()
889 tw->table.top_col--; in move_top()
890 cur_x += cell_width(tw, tw->table.top_col); in move_top()
894 cur_x -= cell_width(tw, tw->table.top_col); in move_top()
[all …]
H A DMwTabstop.c67 offset(top_col),
191 int lm = rw->mwTabstop.left_margin, tc = rw->mwTabstop.top_col, ps = lm-tc+1; in DeleteTab()
217 int lm = rw->mwTabstop.left_margin, tc = rw->mwTabstop.top_col, ps = lm-tc+1; in AddTab()
282 tc = aw->mwTabstop.top_col, ps = lm-tc+1, pe = pw-rm-tc, in; in Redisplay()
346 || (rw1->mwTabstop.top_col != rw2->mwTabstop.top_col) in SetValues()
H A DMwRichtext.c58 offset(top_col),
797 fx -= rtw->richtext.top_col; in MwRichtextCharToCoords()
869 cur_x += rtw->richtext.top_col-2; in MwRichtextCoordsToChar()
930 XtNtabstopTopCol, rtw->richtext.top_col, in update_ruler()
948 int otc = rtw->richtext.top_col; in move_top()
960 rtw->richtext.top_col += cur_x; in move_top()
964 rtw->richtext.top_col += cur_x+1-width; in move_top()
978 if (rtw->richtext.top_col < 0) rtw->richtext.top_col = 0; in move_top()
1012 int tc = -rtw->richtext.top_col; in draw_segment()
1294 || currtw->richtext.top_col != newrtw->richtext.top_col in SetValues()
[all …]
H A DMwTabstopP.h48 int top_col; member
H A DMwRichtextP.h45 int top_row, top_col; member
H A DMwTableP.h47 int top_row, top_col; member
/dports/graphics/nip2/nip2-8.7.1/src/
H A Drow.c393 if( row->top_col && row->top_col->last_select == row ) in row_dispose()
394 row->top_col->last_select = NULL; in row_dispose()
568 return( scol->top_col ); in row_get_column()
642 Column *col = row->top_col; in row_scrollto()
681 Column *col = scol->top_col; in row_load()
985 row->top_col = NULL; in row_init()
1845 row->top_col->last_select = row; in row_select_ensure()
1862 row->top_col->last_select = row; in row_select()
1872 Column *col = row->top_col; in row_select_extend()
1908 row->top_col->last_select = NULL; in row_select_toggle()
[all …]
H A Dsubcolumnview.c129 gboolean editable = scol->top_col->ws->mode != WORKSPACE_MODE_NOEDIT; in subcolumnview_refresh()
179 iobject_changed( IOBJECT( scol->top_col ) ); in subcolumnview_refresh()
H A Drowview.c276 Workspace *ws = row->top_col->ws; in rowview_clone_cb()
345 Workspace *ws = row->top_col->ws; in rowview_recalc_cb()
381 Workspace *ws = row->top_col->ws; in rowview_remove_cb()
435 if( row_from->top_col != row_to->top_col ) { in rowview_drag()
H A Dsubcolumn.h60 Column *top_col; /* Topmost enclosing column */ member
H A Dsubcolumn.c121 scol->top_col = NULL; in subcolumn_dispose()
509 scol->top_col = subcolumn_get_top_column( scol ); in subcolumn_parent_add()
610 scol->top_col = NULL; in subcolumn_init()
H A Drow.h57 Column *top_col; /* Enclosing top level column */ member
/dports/editors/neovim/neovim-0.6.1/runtime/indent/
H A Djavascript.vim111 if s:top_col == 1
130 let [s:looksyn, s:top_col] = getpos('.')[1:2]
397 let [s:looksyn, s:top_col, s:check_in, s:l1] = [v:lnum - 1,0,0,
/dports/editors/vim/vim-8.2.3745/runtime/indent/
H A Djavascript.vim111 if s:top_col == 1
130 let [s:looksyn, s:top_col] = getpos('.')[1:2]
397 let [s:looksyn, s:top_col, s:check_in, s:l1] = [v:lnum - 1,0,0,

12