Indentation.
authorAndrew Borodin <aborodin@vmail.ru>
Fri, 29 Mar 2013 15:06:27 +0000 (29 19:06 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Fri, 29 Mar 2013 15:06:27 +0000 (29 19:06 +0400)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/editcmd.c
src/editor/editcmd_dialogs.c

index c242559..8affdda 100644 (file)
@@ -3304,7 +3304,8 @@ edit_complete_word_cmd (WEdit * edit)
     match_expr = g_string_new ("(^|\\s+|\\b)");
     for (i = 0; i < word_len; 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              */
     /* start search from begin to end of file */
index 559e4c3..4b39414 100644 (file)
@@ -352,8 +352,7 @@ editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** comp
     compl_dlg_w = max_len + 4;
     start_x = we->x + edit->curs_col + edit->start_col + EDIT_TEXT_HORIZONTAL_OFFSET +
         (edit->fullscreen ? 0 : 1) + option_line_state_width;
-    start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET +
-        (edit->fullscreen ? 0 : 1) + 1;
+    start_y = we->y + edit->curs_row + EDIT_TEXT_VERTICAL_OFFSET + (edit->fullscreen ? 0 : 1) + 1;
 
     if (start_x < 0)
         start_x = 0;