Lines Matching refs:point

189 unsigned char *point;		/* points to current position in line	*/  variable
564 curr_line->line = point = malloc(10); in main()
701 point = resiz_line(10, curr_line, position); in insert()
703 temp = point; in insert()
711 while (point < temp) in insert()
717 *point = character; /* insert new character */ in insert()
722 point++; in insert()
729 point++; in insert()
755 midscreen(scr_vert, point); in insert()
763 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length); in insert()
777 if (point != curr_line->line) /* if not at beginning of line */ in delete()
780 temp2 = tp = point; in delete()
781 if ((ee_chinese) && (position >= 2) && (*(point - 2) > 127)) in delete()
786 point -= del_width; in delete()
798 *d_char = *point; /* save deleted character */ in delete()
801 d_char[0] = *point; in delete()
802 d_char[1] = *(point + 1); in delete()
816 midscreen(scr_vert, point); in delete()
824 point = resiz_line(temp_buff->line_length, curr_line, position); in delete()
834 tp = point; in delete()
869 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length); in delete()
904 midscreen(scr_vert, point); in scanline()
909 midscreen(scr_vert, point); in scanline()
1072 temp = point; in insert_line()
1087 temp=point; in insert_line()
1097 point= curr_line->line; in insert_line()
1118 midscreen(scr_vert, point); in insert_line()
1120 draw_line(scr_vert, scr_horz, point, position, in insert_line()
1156 if ((position != 1) && ((point[-1] == ' ') || (point[-1] == '\t'))) in prev_word()
1158 while ((position != 1) && ((*point != ' ') && (*point != '\t'))) in prev_word()
1161 while ((position != 1) && ((*point == ' ') || (*point == '\t'))) in prev_word()
1163 while ((position != 1) && ((*point != ' ') && (*point != '\t'))) in prev_word()
1165 if ((position != 1) && ((*point == ' ') || (*point == '\t'))) in prev_word()
1334 point = curr_line->line; in bottom()
1338 midscreen(last_line, point); in bottom()
1351 point = curr_line->line; in top()
1355 midscreen(0, point); in top()
1365 point = curr_line->line; in nextline()
1373 draw_line(last_line,0,point,1,curr_line->line_length); in nextline()
1385 point = curr_line->line; in prevline()
1390 draw_line(0,0,point,1,curr_line->line_length); in prevline()
1397 point++; in prevline()
1405 if (point != curr_line->line) /* if not at begin of line */ in left()
1407 if ((ee_chinese) && (position >= 2) && (*(point - 2) > 127)) in left()
1409 point--; in left()
1412 point--; in left()
1414 scanline(point); in left()
1424 point = curr_line->line + curr_line->line_length; in left()
1430 scanline(point); in left()
1442 if ((ee_chinese) && (*point > 127) && in right()
1445 point++; in right()
1448 point++; in right()
1450 scanline(point); in right()
1460 point = curr_line->line; in right()
1469 midscreen(scr_vert, point); in right()
1484 if (*point == 9) in find_pos()
1486 else if (*point < ' ') in find_pos()
1488 else if ((ee_chinese) && (*point > 127) && in find_pos()
1492 point++; in find_pos()
1498 point++; in find_pos()
1503 midscreen(scr_vert, point); in find_pos()
1508 midscreen(scr_vert, point); in find_pos()
1520 point = curr_line->line; in up()
1595 midscreen(scr_vert, point); in function_key()
1757 wprintw(com_win, char_str, *point); in command()
2024 point = curr_line->line; in goto_line()
2026 midscreen((last_line / 2), point); in goto_line()
2203 point = curr_line->line; in check_fp()
2343 curr_line->line = point = (unsigned char *) malloc(char_count); in get_line()
2349 point = resiz_line(char_count, curr_line, curr_line->line_length); in get_line()
2354 *point = *str1; in get_line()
2355 point++; in get_line()
2358 *point = '\0'; in get_line()
2487 point = curr_line->line; in delete_text()
2587 srch_1 = point; in search()
2658 point = srch_1; in search()
2660 scanline(point); in search()
2662 midscreen((last_line / 2), point); in search()
2709 if ((ee_chinese) && (*point > 127) && in del_char()
2712 point++; in del_char()
2716 point++; in del_char()
2717 scanline(point); in del_char()
2761 d_word3 = point; in del_word()
2782 d_word2 = point; in del_word()
2792 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length); in del_word()
2815 point = resiz_line(d_wrd_len, curr_line, position); in undel_word()
2829 tmp_old_ptr = point; in undel_word()
2844 tmp_old_ptr = point; in undel_word()
2860 draw_line(scr_vert, scr_horz, point, position, curr_line->line_length); in undel_word()
2875 dl2 = point; in del_line()
2886 *point = '\0'; in del_line()
2910 point = resiz_line(dlt_line->line_length, curr_line, position); in undel_line()
2912 ud1 = point; in undel_line()
2923 draw_line(scr_vert, scr_horz,point,position,curr_line->line_length); in undel_line()
2930 while ((position < curr_line->line_length) && ((*point != 32) && (*point != 9))) in adv_word()
2932 while ((position < curr_line->line_length) && ((*point == 32) || (*point == 9))) in adv_word()
2954 tmp = point; in move_rel()
2963 point = tmp; in move_rel()
2964 scanline(point); in move_rel()
2976 midscreen(scr_vert, point); in move_rel()
2987 tmp = point; in move_rel()
2996 point = tmp; in move_rel()
2997 scanline(point); in move_rel()
3024 if (point != curr_line->line) in bol()
3026 while (point != curr_line->line) in bol()
3040 if ((point != curr_line->line) || (scr_pos > 0)) in adv_line()
3160 point = curr_line->line; in sh_command()
3719 midscreen(scr_vert, point); in no_info_window()
3739 midscreen(min(scr_vert, last_line), point); in create_info_window()
3853 midscreen(scr_vert, point); in redraw()
3947 if ((*point == ' ') || (*point == '\t')) in Format()
3951 line = temp1 = point; in Format()
3966 while ((line != point) && (status)) in Format()
3998 if (*point != ' ') in Format()
4006 if ((*point == ' ') || (*point == '\t')) in Format()
4020 if ((*point == ' ') && (*(point + 1) == ' ')) in Format()
4033 if ((*point == '.') && (*(point + 1) == ' ')) in Format()
4038 while (*point == ' ') in Format()
4112 midscreen(scr_vert, point); in Format()
4534 …if ((position != 1) && ((*point == ' ') || (*point == '\t') || (position == curr_line->line_length… in Auto_Format()
4544 if ((*point == ' ') || (*point == '\t')) in Auto_Format()
4548 line = temp1 = point; in Auto_Format()
4563 while ((line != point) && (status)) in Auto_Format()
4592 if (*point != ' ') in Auto_Format()
4612 if ((*point == ' ') || (*point == '\t')) in Auto_Format()
4648 if (*point != ' ') in Auto_Format()
4671 if ((*point == ' ') || (*point == '\t')) in Auto_Format()
4748 midscreen(scr_vert, point); in Auto_Format()