Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
родитель
2bfe782780
Коммит
b7d42cc1e5
@ -3304,7 +3304,8 @@ edit_complete_word_cmd (WEdit * edit)
|
|||||||
match_expr = g_string_new ("(^|\\s+|\\b)");
|
match_expr = g_string_new ("(^|\\s+|\\b)");
|
||||||
for (i = 0; i < word_len; i++)
|
for (i = 0; i < word_len; i++)
|
||||||
g_string_append_c (match_expr, edit_get_byte (edit, word_start + i));
|
g_string_append_c (match_expr, edit_get_byte (edit, word_start + i));
|
||||||
g_string_append (match_expr, "[^\\s\\.=\\+\\[\\]\\(\\)\\,\\;\\:\\\"\\'\\-\\?\\/\\|\\\\\\{\\}\\*\\&\\^\\%%\\$#@\\!]+");
|
g_string_append (match_expr,
|
||||||
|
"[^\\s\\.=\\+\\[\\]\\(\\)\\,\\;\\:\\\"\\'\\-\\?\\/\\|\\\\\\{\\}\\*\\&\\^\\%%\\$#@\\!]+");
|
||||||
|
|
||||||
/* collect the possible completions */
|
/* collect the possible completions */
|
||||||
/* start search from begin to end of file */
|
/* start search from begin to end of file */
|
||||||
|
@ -352,8 +352,7 @@ editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** comp
|
|||||||
compl_dlg_w = max_len + 4;
|
compl_dlg_w = max_len + 4;
|
||||||
start_x = we->x + edit->curs_col + edit->start_col + EDIT_TEXT_HORIZONTAL_OFFSET +
|
start_x = we->x + edit->curs_col + edit->start_col + EDIT_TEXT_HORIZONTAL_OFFSET +
|
||||||
(edit->fullscreen ? 0 : 1) + option_line_state_width;
|
(edit->fullscreen ? 0 : 1) + option_line_state_width;
|
||||||
start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET +
|
start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1;
|
||||||
(edit->fullscreen ? 0 : 1) + 1;
|
|
||||||
|
|
||||||
if (start_x < 0)
|
if (start_x < 0)
|
||||||
start_x = 0;
|
start_x = 0;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user