From aac40d577f60c835c97ccf8d240a6d647bd1d78b Mon Sep 17 00:00:00 2001 From: mongo Date: Mon, 25 Apr 2016 16:50:40 -0300 Subject: Removed comments --- src/cmds_insert.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/cmds_insert.c b/src/cmds_insert.c index 30df383..ca87fc3 100644 --- a/src/cmds_insert.c +++ b/src/cmds_insert.c @@ -10,17 +10,6 @@ #include "marks.h" #include "cmds_visual.h" -/* used for wchar_t that has more than 1 column width -int get_real_inputline_pos() { - int pos; - int sum = 0; - for (pos = 0; pos < wcslen(inputline) && sum < inputline_pos; pos++) { - sum += wcwidth(inputline[pos]); - } - return pos; -} -*/ - void do_insertmode(struct block * sb) { if (sb->value == ctl('v') ) { // VISUAL SUBMODE @@ -98,10 +87,6 @@ void do_insertmode(struct block * sb) { for(i = 0; i < strlen(cline); i++) ins_in_line(cline[i]); show_header(input_win); -// } else { -// move(0, rescol + inputline_pos + 1); -// show_header(input_win); } - return; } -- cgit v1.2.3