mcedit supertab patch



Hello.

I would like to propose a patch to mc to make autocompletion in mcedit
by pressing only TAB key if we are not in indent.

Reason: ESC Tab is not very convenient key combo to press often, and
alt-tab is used by Gnome. Also it is good to have the same experience
as with bash completion.

Patch checks whether we are in indent and if not, then it swaps
actions of CK_Complete and CK_Tab. If we are in indent, then both
CK_Tab and CK_Complete produce tabulation (anyway completion in indent
does not work).

Possible improvements:
1) if previous symbol is space/tab, then CK_Tab may produce tabulation
instead of completion.
2) if completion has nothing to suggest and CK_Tab was pressed more
than once consequently, then also produce tabulation.

Short version of patch do nothing with translation files.
Full patch introduces translation for switching checkbox for russian
language and updates pot, po and gmo files (just by calling 'make -C
po update-po' and then 'make -C po install' ).

Please tell me your opinion and suggestions,
Sergey Naumov.
diff -uNr mc-4.8.4.orig/src/editor/edit.c mc-4.8.4/src/editor/edit.c
--- mc-4.8.4.orig/src/editor/edit.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/edit.c	2012-09-02 13:17:51.000000000 +0400
@@ -90,6 +90,7 @@
 int option_cursor_beyond_eol = 0;
 int option_line_state = 0;
 int option_line_state_width = 0;
+int option_supertab = 0;
 
 int option_edit_right_extreme = 0;
 int option_edit_left_extreme = 0;
@@ -3924,6 +3925,10 @@
                 edit_mark_cmd (edit, 0);
             edit_move_block_to_right (edit);
         }
+        else if (option_supertab && !is_in_indent (edit))
+        {
+            edit_complete_word_cmd (edit);
+        }
         else
         {
             if (option_cursor_beyond_eol)
@@ -4118,6 +4123,21 @@
         {
             edit_move_block_to_left (edit);
         }
+        else if (option_supertab)
+        {
+            if (option_cursor_beyond_eol)
+                edit_insert_over (edit);
+            edit_tab_cmd (edit);
+            if (option_auto_para_formatting)
+            {
+                format_paragraph (edit, 0);
+                edit->force |= REDRAW_PAGE;
+            }
+            else
+            {
+                check_and_wrap_line (edit);
+            }
+        }
         else
         {
             edit_complete_word_cmd (edit);
diff -uNr mc-4.8.4.orig/src/editor/edit.h mc-4.8.4/src/editor/edit.h
--- mc-4.8.4.orig/src/editor/edit.h	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/edit.h	2012-09-02 11:27:48.000000000 +0400
@@ -45,6 +45,7 @@
 extern int option_save_position;
 extern int option_syntax_highlighting;
 extern int option_group_undo;
+extern int option_supertab;
 extern char *option_backup_ext;
 
 extern int edit_confirm_save;
diff -uNr mc-4.8.4.orig/src/editor/editoptions.c mc-4.8.4/src/editor/editoptions.c
--- mc-4.8.4.orig/src/editor/editoptions.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/editoptions.c	2012-09-02 12:11:42.000000000 +0400
@@ -46,7 +46,7 @@
 
 /*** file scope macro definitions ****************************************************************/
 
-#define OPT_DLG_H 17
+#define OPT_DLG_H 18
 #define OPT_DLG_W 74
 
 /*** file scope type declarations ****************************************************************/
@@ -127,10 +127,12 @@
     QuickWidget quick_widgets[] = {
         /*  0 */ QUICK_BUTTON (6, 10, OPT_DLG_H - 3, OPT_DLG_H, N_("&Cancel"), B_CANCEL, NULL),
         /*  1 */ QUICK_BUTTON (2, 10, OPT_DLG_H - 3, OPT_DLG_H, N_("&OK"), B_ENTER, NULL),
-        /*  2 */ QUICK_LABEL (OPT_DLG_W / 2 + 1, OPT_DLG_W, 12, OPT_DLG_H,
+        /*  2 */ QUICK_LABEL (OPT_DLG_W / 2 + 1, OPT_DLG_W, 13, OPT_DLG_H,
                               N_("Word wrap line length:")),
-        /*  3 */ QUICK_INPUT (OPT_DLG_W / 2 + 25, OPT_DLG_W, 12, OPT_DLG_H,
+        /*  3 */ QUICK_INPUT (OPT_DLG_W / 2 + 25, OPT_DLG_W, 13, OPT_DLG_H,
                               wrap_length, OPT_DLG_W / 2 - 4 - 24, 0, "edit-word-wrap", &p),
+                 QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 12, OPT_DLG_H,
+                                 N_("&Tab completion"), &option_supertab),
         /*  4 */ QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 11, OPT_DLG_H,
                                  N_("&Group undo"), &option_group_undo),
         /*  5 */ QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 10, OPT_DLG_H,
diff -uNr mc-4.8.4.orig/src/setup.c mc-4.8.4/src/setup.c
--- mc-4.8.4.orig/src/setup.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/setup.c	2012-09-02 11:19:18.000000000 +0400
@@ -307,6 +307,7 @@
     { "editor_option_save_position", &option_save_position },
     { "editor_option_auto_para_formatting", &option_auto_para_formatting },
     { "editor_option_typewriter_wrap", &option_typewriter_wrap },
+    { "editor_option_supertab", &option_supertab },
     { "editor_edit_confirm_save", &edit_confirm_save },
     { "editor_syntax_highlighting", &option_syntax_highlighting },
     { "editor_persistent_selections", &option_persistent_selections },
Binary files mc-4.8.4.orig/po/az.gmo and mc-4.8.4/po/az.gmo differ
diff -uNr mc-4.8.4.orig/po/az.po mc-4.8.4/po/az.po
--- mc-4.8.4.orig/po/az.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/az.po	2012-09-02 13:06:48.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1378,6 +1378,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/be.gmo and mc-4.8.4/po/be.gmo differ
diff -uNr mc-4.8.4.orig/po/be.po mc-4.8.4/po/be.po
--- mc-4.8.4.orig/po/be.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/be.po	2012-09-02 13:09:05.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Belarusian (http://www.transifex.com/projects/p/mc/language/";
@@ -1428,6 +1428,9 @@
 msgid "Word wrap line length:"
 msgstr "Пазіцыя пераносу радкоў:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Групавая адмена"
 
Binary files mc-4.8.4.orig/po/bg.gmo and mc-4.8.4/po/bg.gmo differ
diff -uNr mc-4.8.4.orig/po/bg.po mc-4.8.4/po/bg.po
--- mc-4.8.4.orig/po/bg.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/bg.po	2012-09-02 13:12:08.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Yasen Pramatarov <yasen lindeas com>\n"
 "Language-Team: Bulgarian (http://www.transifex.com/projects/p/mc/language/";
@@ -1380,6 +1380,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ca.gmo and mc-4.8.4/po/ca.gmo differ
diff -uNr mc-4.8.4.orig/po/ca.po mc-4.8.4/po/ca.po
--- mc-4.8.4.orig/po/ca.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ca.po	2012-09-02 13:07:16.000000000 +0400
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Catalan (http://www.transifex.com/projects/p/mc/language/";
@@ -1381,6 +1381,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/cs.gmo and mc-4.8.4/po/cs.gmo differ
diff -uNr mc-4.8.4.orig/po/cs.po mc-4.8.4/po/cs.po
--- mc-4.8.4.orig/po/cs.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/cs.po	2012-09-02 13:09:13.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Czech (http://www.transifex.com/projects/p/mc/language/cs/)\n"
@@ -1405,6 +1405,9 @@
 msgid "Word wrap line length:"
 msgstr "Šířka řádku pro zlom:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/da.gmo and mc-4.8.4/po/da.gmo differ
diff -uNr mc-4.8.4.orig/po/da.po mc-4.8.4/po/da.po
--- mc-4.8.4.orig/po/da.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/da.po	2012-09-02 13:13:04.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Danish (http://www.transifex.com/projects/p/mc/language/da/)\n"
@@ -1405,6 +1405,9 @@
 msgid "Word wrap line length:"
 msgstr "Linjelængde for ordombrydning:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/de.gmo and mc-4.8.4/po/de.gmo differ
diff -uNr mc-4.8.4.orig/po/de.po mc-4.8.4/po/de.po
--- mc-4.8.4.orig/po/de.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/de.po	2012-09-02 13:12:15.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: German (http://www.transifex.com/projects/p/mc/language/de/)\n"
@@ -1409,6 +1409,9 @@
 msgid "Word wrap line length:"
 msgstr "Umbruch-Zeilenlänge:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/el.gmo and mc-4.8.4/po/el.gmo differ
diff -uNr mc-4.8.4.orig/po/el.po mc-4.8.4/po/el.po
--- mc-4.8.4.orig/po/el.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/el.po	2012-09-02 12:54:29.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Greek (http://www.transifex.com/projects/p/mc/language/el/)\n"
@@ -1380,6 +1380,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/eo.gmo and mc-4.8.4/po/eo.gmo differ
diff -uNr mc-4.8.4.orig/po/eo.po mc-4.8.4/po/eo.po
--- mc-4.8.4.orig/po/eo.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/eo.po	2012-09-02 13:12:49.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Keith Bowes <zooplah gmail com>\n"
 "Language-Team: Esperanto (http://www.transifex.com/projects/p/mc/language/";
@@ -1426,6 +1426,9 @@
 msgid "Word wrap line length:"
 msgstr "Linifalda longo:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Grupa malfaro"
 
Binary files mc-4.8.4.orig/po/es.gmo and mc-4.8.4/po/es.gmo differ
diff -uNr mc-4.8.4.orig/po/es.po mc-4.8.4/po/es.po
--- mc-4.8.4.orig/po/es.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/es.po	2012-09-02 13:11:01.000000000 +0400
@@ -12,7 +12,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: David Martin <david martin telefonica net>\n"
 "Language-Team: Spanish (Castilian) (http://www.transifex.com/projects/p/mc/";
@@ -1431,6 +1431,9 @@
 msgid "Word wrap line length:"
 msgstr "Ancho del párrafo auto: "
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "deshacer en &Grupo"
 
Binary files mc-4.8.4.orig/po/eu.gmo and mc-4.8.4/po/eu.gmo differ
diff -uNr mc-4.8.4.orig/po/eu.po mc-4.8.4/po/eu.po
--- mc-4.8.4.orig/po/eu.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/eu.po	2012-09-02 13:09:58.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Basque (http://www.transifex.com/projects/p/mc/language/eu/)\n"
@@ -1428,6 +1428,9 @@
 msgid "Word wrap line length:"
 msgstr "Itzulbiratutako lerroaren luzeera:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Taldeka desegin"
 
Binary files mc-4.8.4.orig/po/fi_FI.gmo and mc-4.8.4/po/fi_FI.gmo differ
diff -uNr mc-4.8.4.orig/po/fi_FI.po mc-4.8.4/po/fi_FI.po
--- mc-4.8.4.orig/po/fi_FI.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/fi_FI.po	2012-09-02 12:54:30.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1385,6 +1385,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/fi.gmo and mc-4.8.4/po/fi.gmo differ
diff -uNr mc-4.8.4.orig/po/fi.po mc-4.8.4/po/fi.po
--- mc-4.8.4.orig/po/fi.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/fi.po	2012-09-02 12:54:30.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Finnish (http://www.transifex.com/projects/p/mc/language/";
@@ -1377,6 +1377,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/fr.gmo and mc-4.8.4/po/fr.gmo differ
diff -uNr mc-4.8.4.orig/po/fr.po mc-4.8.4/po/fr.po
--- mc-4.8.4.orig/po/fr.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/fr.po	2012-09-02 13:10:33.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Stéphane Aulery <lkppo free fr>\n"
 "Language-Team: French (http://www.transifex.com/projects/p/mc/language/fr/)\n"
@@ -1398,6 +1398,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Annuler un groupe"
 
Binary files mc-4.8.4.orig/po/gl.gmo and mc-4.8.4/po/gl.gmo differ
diff -uNr mc-4.8.4.orig/po/gl.po mc-4.8.4/po/gl.po
--- mc-4.8.4.orig/po/gl.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/gl.po	2012-09-02 13:13:24.000000000 +0400
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: mbouzada <mbouzada gmail com>\n"
 "Language-Team: Galician (http://www.transifex.com/projects/p/mc/language/";
@@ -1429,6 +1429,9 @@
 msgid "Word wrap line length:"
 msgstr "Lonxitude do axuste de liña:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "Desfacer no &Grupo"
 
Binary files mc-4.8.4.orig/po/hu.gmo and mc-4.8.4/po/hu.gmo differ
diff -uNr mc-4.8.4.orig/po/hu.po mc-4.8.4/po/hu.po
--- mc-4.8.4.orig/po/hu.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/hu.po	2012-09-02 13:09:21.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Rezső Páder <rezso rezso net>\n"
 "Language-Team: Hungarian (http://www.transifex.com/projects/p/mc/language/";
@@ -1430,6 +1430,9 @@
 msgid "Word wrap line length:"
 msgstr "Sortörési pozíció:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "C&soportos visszavonás"
 
Binary files mc-4.8.4.orig/po/ia.gmo and mc-4.8.4/po/ia.gmo differ
diff -uNr mc-4.8.4.orig/po/ia.po mc-4.8.4/po/ia.po
--- mc-4.8.4.orig/po/ia.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ia.po	2012-09-02 12:54:30.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Martijn Dekker <mcdutchie hotmail com>\n"
 "Language-Team: Interlingua (http://www.transifex.com/projects/p/mc/language/";
@@ -1401,6 +1401,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/id.gmo and mc-4.8.4/po/id.gmo differ
diff -uNr mc-4.8.4.orig/po/id.po mc-4.8.4/po/id.po
--- mc-4.8.4.orig/po/id.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/id.po	2012-09-02 12:54:30.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Indonesian (http://www.transifex.com/projects/p/mc/language/";
@@ -1384,6 +1384,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/it.gmo and mc-4.8.4/po/it.gmo differ
Binary files mc-4.8.4.orig/po/it_IT.gmo and mc-4.8.4/po/it_IT.gmo differ
diff -uNr mc-4.8.4.orig/po/it_IT.po mc-4.8.4/po/it_IT.po
--- mc-4.8.4.orig/po/it_IT.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/it_IT.po	2012-09-02 12:54:30.000000000 +0400
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2011-12-07 11:21+0000\n"
 "Last-Translator: slavazanko <slavazanko gmail com>\n"
 "Language-Team: Italian (Italy) (http://www.transifex.net/projects/p/mc/team/";
@@ -1376,6 +1376,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
diff -uNr mc-4.8.4.orig/po/it.po mc-4.8.4/po/it.po
--- mc-4.8.4.orig/po/it.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/it.po	2012-09-02 13:12:23.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-06-23 14:11+0200\n"
 "Last-Translator: Marco Ciampa <ciampix libero it>\n"
 "Language-Team: Italian (http://www.transifex.net/projects/p/mc/language/";
@@ -1455,6 +1455,9 @@
 msgid "Word wrap line length:"
 msgstr "Auto a capo colonna: "
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "Annullamento di &gruppo"
 
Binary files mc-4.8.4.orig/po/ja.gmo and mc-4.8.4/po/ja.gmo differ
diff -uNr mc-4.8.4.orig/po/ja.po mc-4.8.4/po/ja.po
--- mc-4.8.4.orig/po/ja.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ja.po	2012-09-02 13:08:42.000000000 +0400
@@ -11,7 +11,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Japanese (http://www.transifex.com/projects/p/mc/language/";
@@ -1389,6 +1389,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ka.gmo and mc-4.8.4/po/ka.gmo differ
diff -uNr mc-4.8.4.orig/po/ka.po mc-4.8.4/po/ka.po
--- mc-4.8.4.orig/po/ka.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ka.po	2012-09-02 12:54:30.000000000 +0400
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2010-12-29 10:19+0000\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1375,6 +1375,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ko.gmo and mc-4.8.4/po/ko.gmo differ
diff -uNr mc-4.8.4.orig/po/ko.po mc-4.8.4/po/ko.po
--- mc-4.8.4.orig/po/ko.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ko.po	2012-09-02 13:10:17.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Korean (http://www.transifex.com/projects/p/mc/language/ko/)\n"
@@ -1382,6 +1382,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/lt.gmo and mc-4.8.4/po/lt.gmo differ
diff -uNr mc-4.8.4.orig/po/lt.po mc-4.8.4/po/lt.po
--- mc-4.8.4.orig/po/lt.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/lt.po	2012-09-02 13:11:28.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Lithuanian (http://www.transifex.com/projects/p/mc/language/";
@@ -1381,6 +1381,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/lv.gmo and mc-4.8.4/po/lv.gmo differ
diff -uNr mc-4.8.4.orig/po/lv.po mc-4.8.4/po/lv.po
--- mc-4.8.4.orig/po/lv.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/lv.po	2012-09-02 13:12:57.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1379,6 +1379,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
diff -uNr mc-4.8.4.orig/po/mc.pot mc-4.8.4/po/mc.pot
--- mc-4.8.4.orig/po/mc.pot	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/mc.pot	2012-09-02 12:54:29.000000000 +0400
@@ -3,19 +3,20 @@
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 #
+#, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: mc 4.8.4\n"
+"Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
-#"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
 
 #: lib/charsets.c:220
 msgid "Warning: cannot load codepages list"
@@ -733,9 +734,9 @@
 msgid "&OK"
 msgstr ""
 
-#: lib/widget/wtools.c:324 lib/widget/wtools.c:445 src/editor/edit.c:223
-#: src/editor/edit.c:257 src/editor/edit.c:409 src/editor/edit.c:2065
-#: src/editor/edit.c:2075 src/editor/editcmd.c:269 src/editor/editcmd.c:279
+#: lib/widget/wtools.c:324 lib/widget/wtools.c:445 src/editor/edit.c:224
+#: src/editor/edit.c:258 src/editor/edit.c:410 src/editor/edit.c:2066
+#: src/editor/edit.c:2076 src/editor/editcmd.c:269 src/editor/editcmd.c:279
 #: src/editor/editcmd.c:357 src/editor/editcmd.c:2971 src/editor/spell.c:312
 #: src/editor/spell.c:542 src/editor/spell.c:550
 msgid "Error"
@@ -1170,37 +1171,37 @@
 msgid "< Reload Current Syntax >"
 msgstr ""
 
-#: src/editor/edit.c:221 src/editor/edit.c:357
+#: src/editor/edit.c:222 src/editor/edit.c:358
 #, c-format
 msgid "Cannot open %s for reading"
 msgstr ""
 
-#: src/editor/edit.c:255
+#: src/editor/edit.c:256
 #, c-format
 msgid "Error reading %s"
 msgstr ""
 
-#: src/editor/edit.c:372
+#: src/editor/edit.c:373
 #, c-format
 msgid "Cannot get size/permissions for %s"
 msgstr ""
 
-#: src/editor/edit.c:383
+#: src/editor/edit.c:384
 #, c-format
 msgid "\"%s\" is not a regular file"
 msgstr ""
 
-#: src/editor/edit.c:400
+#: src/editor/edit.c:401
 #, c-format
 msgid "File \"%s\" is too large"
 msgstr ""
 
-#: src/editor/edit.c:2064
+#: src/editor/edit.c:2065
 #, c-format
 msgid "Error reading from pipe: %s"
 msgstr ""
 
-#: src/editor/edit.c:2074
+#: src/editor/edit.c:2075
 #, c-format
 msgid "Cannot open pipe for reading: %s"
 msgstr ""
@@ -1888,62 +1889,66 @@
 msgstr ""
 
 #: src/editor/editoptions.c:135
-msgid "&Group undo"
+msgid "&Tab completion"
 msgstr ""
 
 #: src/editor/editoptions.c:137
-msgid "Cursor beyond end of line"
+msgid "&Group undo"
 msgstr ""
 
 #: src/editor/editoptions.c:139
-msgid "Pers&istent selection"
+msgid "Cursor beyond end of line"
 msgstr ""
 
 #: src/editor/editoptions.c:141
-msgid "Synta&x highlighting"
+msgid "Pers&istent selection"
 msgstr ""
 
 #: src/editor/editoptions.c:143
-msgid "Visible tabs"
+msgid "Synta&x highlighting"
 msgstr ""
 
 #: src/editor/editoptions.c:145
-msgid "Visible trailing spaces"
+msgid "Visible tabs"
 msgstr ""
 
 #: src/editor/editoptions.c:147
-msgid "Save file &position"
+msgid "Visible trailing spaces"
 msgstr ""
 
 #: src/editor/editoptions.c:149
-msgid "Confir&m before saving"
+msgid "Save file &position"
 msgstr ""
 
 #: src/editor/editoptions.c:151
+msgid "Confir&m before saving"
+msgstr ""
+
+#: src/editor/editoptions.c:153
 msgid "&Return does autoindent"
 msgstr ""
 
-#: src/editor/editoptions.c:152
+#: src/editor/editoptions.c:154
 msgid "Tab spacing:"
 msgstr ""
 
-#: src/editor/editoptions.c:156
+#: src/editor/editoptions.c:158
 msgid "Fill tabs with &spaces"
 msgstr ""
 
-#: src/editor/editoptions.c:158
+#: src/editor/editoptions.c:160
 msgid "&Backspace through tabs"
 msgstr ""
 
-#: src/editor/editoptions.c:160
+#: src/editor/editoptions.c:162
 msgid "&Fake half tabs"
 msgstr ""
 
-#: src/editor/editoptions.c:162
+#: src/editor/editoptions.c:164
 msgid "Wrap mode"
 msgstr ""
 
-#: src/editor/editoptions.c:167
+#: src/editor/editoptions.c:169
 msgid "Editor options"
 msgstr ""
 
@@ -4559,7 +4564,7 @@
 msgid "%b %e %H:%M"
 msgstr ""
 
-#: src/setup.c:1117
+#: src/setup.c:1118
 #, c-format
 msgid ""
 "Cannot save file %s:\n"
Binary files mc-4.8.4.orig/po/mn.gmo and mc-4.8.4/po/mn.gmo differ
diff -uNr mc-4.8.4.orig/po/mn.po mc-4.8.4/po/mn.po
--- mc-4.8.4.orig/po/mn.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/mn.po	2012-09-02 13:09:42.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1378,6 +1378,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/nb.gmo and mc-4.8.4/po/nb.gmo differ
diff -uNr mc-4.8.4.orig/po/nb.po mc-4.8.4/po/nb.po
--- mc-4.8.4.orig/po/nb.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/nb.po	2012-09-02 13:12:33.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1378,6 +1378,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/nl.gmo and mc-4.8.4/po/nl.gmo differ
diff -uNr mc-4.8.4.orig/po/nl.po mc-4.8.4/po/nl.po
--- mc-4.8.4.orig/po/nl.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/nl.po	2012-09-02 13:07:41.000000000 +0400
@@ -12,7 +12,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 12:04+0000\n"
 "Last-Translator: bucovaina78 <wannessmet gmail com>\n"
 "Language-Team: Dutch (http://www.transifex.com/projects/p/mc/language/nl/)\n"
@@ -1424,6 +1424,9 @@
 msgid "Word wrap line length:"
 msgstr "Regellengte voor afbreken:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Groep ongedaanmaken"
 
Binary files mc-4.8.4.orig/po/pl.gmo and mc-4.8.4/po/pl.gmo differ
diff -uNr mc-4.8.4.orig/po/pl.po mc-4.8.4/po/pl.po
--- mc-4.8.4.orig/po/pl.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/pl.po	2012-09-02 13:11:47.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Piotr Drąg <piotrdrag gmail com>\n"
 "Language-Team: Polish (http://www.transifex.com/projects/p/mc/language/pl/)\n"
@@ -1432,6 +1432,9 @@
 msgid "Word wrap line length:"
 msgstr "Punkt łamania wiersza:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Grupowe cofnięcie"
 
Binary files mc-4.8.4.orig/po/pt_BR.gmo and mc-4.8.4/po/pt_BR.gmo differ
diff -uNr mc-4.8.4.orig/po/pt_BR.po mc-4.8.4/po/pt_BR.po
--- mc-4.8.4.orig/po/pt_BR.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/pt_BR.po	2012-09-02 13:09:30.000000000 +0400
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Rafael Ferreira <rafael f f1 gmail com>\n"
 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/mc/";
@@ -1406,6 +1406,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/pt.gmo and mc-4.8.4/po/pt.gmo differ
diff -uNr mc-4.8.4.orig/po/pt.po mc-4.8.4/po/pt.po
--- mc-4.8.4.orig/po/pt.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/pt.po	2012-09-02 13:11:40.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Gilberto J <2101458 my ipleiria pt>\n"
 "Language-Team: Portuguese (http://www.transifex.com/projects/p/mc/language/";
@@ -1401,6 +1401,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ro.gmo and mc-4.8.4/po/ro.gmo differ
diff -uNr mc-4.8.4.orig/po/ro.po mc-4.8.4/po/ro.po
--- mc-4.8.4.orig/po/ro.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ro.po	2012-09-02 13:10:49.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Romanian (http://www.transifex.com/projects/p/mc/language/";
@@ -1380,6 +1380,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ru.gmo and mc-4.8.4/po/ru.gmo differ
diff -uNr mc-4.8.4.orig/po/ru.po mc-4.8.4/po/ru.po
--- mc-4.8.4.orig/po/ru.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ru.po	2012-09-02 13:05:58.000000000 +0400
@@ -19,7 +19,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-14 09:42+0000\n"
 "Last-Translator: aborodin <aborodin vmail ru>\n"
 "Language-Team: Russian (http://www.transifex.com/projects/p/mc/language/";
@@ -1467,6 +1467,9 @@
 msgid "Word wrap line length:"
 msgstr "Позиция переноса строк:"
 
+msgid "&Tab completion"
+msgstr "Автозаполнение &Tab'ом"
+
 msgid "&Group undo"
 msgstr "&Групповая отмена"
 
Binary files mc-4.8.4.orig/po/sk.gmo and mc-4.8.4/po/sk.gmo differ
diff -uNr mc-4.8.4.orig/po/sk.po mc-4.8.4/po/sk.po
--- mc-4.8.4.orig/po/sk.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/sk.po	2012-09-02 13:10:41.000000000 +0400
@@ -11,7 +11,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Jose Riha <jose1711 gmail com>\n"
 "Language-Team: Slovak (http://www.transifex.com/projects/p/mc/language/sk/)\n"
@@ -1389,6 +1389,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/sl.gmo and mc-4.8.4/po/sl.gmo differ
diff -uNr mc-4.8.4.orig/po/sl.po mc-4.8.4/po/sl.po
--- mc-4.8.4.orig/po/sl.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/sl.po	2012-09-02 13:11:19.000000000 +0400
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Slovenian (http://www.transifex.com/projects/p/mc/language/";
@@ -1389,6 +1389,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/sr.gmo and mc-4.8.4/po/sr.gmo differ
diff -uNr mc-4.8.4.orig/po/sr.po mc-4.8.4/po/sr.po
--- mc-4.8.4.orig/po/sr.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/sr.po	2012-09-02 13:12:42.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Serbian (http://www.transifex.com/projects/p/mc/language/";
@@ -1380,6 +1380,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/sv.gmo and mc-4.8.4/po/sv.gmo differ
diff -uNr mc-4.8.4.orig/po/sv.po mc-4.8.4/po/sv.po
--- mc-4.8.4.orig/po/sv.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/sv.po	2012-09-02 13:09:51.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Swedish (http://www.transifex.com/projects/p/mc/language/";
@@ -1379,6 +1379,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/sv_SE.gmo and mc-4.8.4/po/sv_SE.gmo differ
diff -uNr mc-4.8.4.orig/po/sv_SE.po mc-4.8.4/po/sv_SE.po
--- mc-4.8.4.orig/po/sv_SE.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/sv_SE.po	2012-09-02 12:54:31.000000000 +0400
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2011-12-07 11:21+0000\n"
 "Last-Translator: slavazanko <slavazanko gmail com>\n"
 "Language-Team: Swedish (Sweden) (http://www.transifex.net/projects/p/mc/team/";
@@ -1376,6 +1376,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/ta.gmo and mc-4.8.4/po/ta.gmo differ
diff -uNr mc-4.8.4.orig/po/ta.po mc-4.8.4/po/ta.po
--- mc-4.8.4.orig/po/ta.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/ta.po	2012-09-02 12:54:31.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1376,6 +1376,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/tr.gmo and mc-4.8.4/po/tr.gmo differ
diff -uNr mc-4.8.4.orig/po/tr.po mc-4.8.4/po/tr.po
--- mc-4.8.4.orig/po/tr.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/tr.po	2012-09-02 13:13:31.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Turkish (http://www.transifex.com/projects/p/mc/language/";
@@ -1379,6 +1379,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/uk.gmo and mc-4.8.4/po/uk.gmo differ
diff -uNr mc-4.8.4.orig/po/uk.po mc-4.8.4/po/uk.po
--- mc-4.8.4.orig/po/uk.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/uk.po	2012-09-02 13:11:58.000000000 +0400
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: Ukrainian (http://www.transifex.com/projects/p/mc/language/";
@@ -1427,6 +1427,9 @@
 msgid "Word wrap line length:"
 msgstr "Переносити після досягнення довжини:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "&Групове повернення"
 
Binary files mc-4.8.4.orig/po/vi.gmo and mc-4.8.4/po/vi.gmo differ
diff -uNr mc-4.8.4.orig/po/vi.po mc-4.8.4/po/vi.po
--- mc-4.8.4.orig/po/vi.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/vi.po	2012-09-02 13:10:07.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1378,6 +1378,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/wa.gmo and mc-4.8.4/po/wa.gmo differ
diff -uNr mc-4.8.4.orig/po/wa.po mc-4.8.4/po/wa.po
--- mc-4.8.4.orig/po/wa.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/wa.po	2012-09-02 12:54:31.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1376,6 +1376,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
Binary files mc-4.8.4.orig/po/zh_CN.gmo and mc-4.8.4/po/zh_CN.gmo differ
diff -uNr mc-4.8.4.orig/po/zh_CN.po mc-4.8.4/po/zh_CN.po
--- mc-4.8.4.orig/po/zh_CN.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/zh_CN.po	2012-09-02 13:11:10.000000000 +0400
@@ -10,7 +10,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Jake Li <gnozil gmail com>\n"
 "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/mc/";
@@ -1427,6 +1427,9 @@
 msgid "Word wrap line length:"
 msgstr "换行位置:"
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr "组撤消 (&G)"
 
Binary files mc-4.8.4.orig/po/zh_TW.gmo and mc-4.8.4/po/zh_TW.gmo differ
diff -uNr mc-4.8.4.orig/po/zh_TW.po mc-4.8.4/po/zh_TW.po
--- mc-4.8.4.orig/po/zh_TW.po	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/po/zh_TW.po	2012-09-02 13:13:13.000000000 +0400
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Midnight Commander\n"
 "Report-Msgid-Bugs-To: http://www.midnight-commander.org/\n";
-"POT-Creation-Date: 2012-07-18 13:34+0300\n"
+"POT-Creation-Date: 2012-09-02 12:54+0400\n"
 "PO-Revision-Date: 2012-07-13 08:36+0000\n"
 "Last-Translator: Slava Zanko <slavazanko gmail com>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -1378,6 +1378,9 @@
 msgid "Word wrap line length:"
 msgstr ""
 
+msgid "&Tab completion"
+msgstr ""
+
 msgid "&Group undo"
 msgstr ""
 
diff -uNr mc-4.8.4.orig/src/editor/edit.c mc-4.8.4/src/editor/edit.c
--- mc-4.8.4.orig/src/editor/edit.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/edit.c	2012-09-02 13:17:51.000000000 +0400
@@ -90,6 +90,7 @@
 int option_cursor_beyond_eol = 0;
 int option_line_state = 0;
 int option_line_state_width = 0;
+int option_supertab = 0;
 
 int option_edit_right_extreme = 0;
 int option_edit_left_extreme = 0;
@@ -3924,6 +3925,10 @@
                 edit_mark_cmd (edit, 0);
             edit_move_block_to_right (edit);
         }
+        else if (option_supertab && !is_in_indent (edit))
+        {
+            edit_complete_word_cmd (edit);
+        }
         else
         {
             if (option_cursor_beyond_eol)
@@ -4118,6 +4123,21 @@
         {
             edit_move_block_to_left (edit);
         }
+        else if (option_supertab)
+        {
+            if (option_cursor_beyond_eol)
+                edit_insert_over (edit);
+            edit_tab_cmd (edit);
+            if (option_auto_para_formatting)
+            {
+                format_paragraph (edit, 0);
+                edit->force |= REDRAW_PAGE;
+            }
+            else
+            {
+                check_and_wrap_line (edit);
+            }
+        }
         else
         {
             edit_complete_word_cmd (edit);
diff -uNr mc-4.8.4.orig/src/editor/edit.h mc-4.8.4/src/editor/edit.h
--- mc-4.8.4.orig/src/editor/edit.h	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/edit.h	2012-09-02 11:27:48.000000000 +0400
@@ -45,6 +45,7 @@
 extern int option_save_position;
 extern int option_syntax_highlighting;
 extern int option_group_undo;
+extern int option_supertab;
 extern char *option_backup_ext;
 
 extern int edit_confirm_save;
diff -uNr mc-4.8.4.orig/src/editor/editoptions.c mc-4.8.4/src/editor/editoptions.c
--- mc-4.8.4.orig/src/editor/editoptions.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/editor/editoptions.c	2012-09-02 12:11:42.000000000 +0400
@@ -46,7 +46,7 @@
 
 /*** file scope macro definitions ****************************************************************/
 
-#define OPT_DLG_H 17
+#define OPT_DLG_H 18
 #define OPT_DLG_W 74
 
 /*** file scope type declarations ****************************************************************/
@@ -127,10 +127,12 @@
     QuickWidget quick_widgets[] = {
         /*  0 */ QUICK_BUTTON (6, 10, OPT_DLG_H - 3, OPT_DLG_H, N_("&Cancel"), B_CANCEL, NULL),
         /*  1 */ QUICK_BUTTON (2, 10, OPT_DLG_H - 3, OPT_DLG_H, N_("&OK"), B_ENTER, NULL),
-        /*  2 */ QUICK_LABEL (OPT_DLG_W / 2 + 1, OPT_DLG_W, 12, OPT_DLG_H,
+        /*  2 */ QUICK_LABEL (OPT_DLG_W / 2 + 1, OPT_DLG_W, 13, OPT_DLG_H,
                               N_("Word wrap line length:")),
-        /*  3 */ QUICK_INPUT (OPT_DLG_W / 2 + 25, OPT_DLG_W, 12, OPT_DLG_H,
+        /*  3 */ QUICK_INPUT (OPT_DLG_W / 2 + 25, OPT_DLG_W, 13, OPT_DLG_H,
                               wrap_length, OPT_DLG_W / 2 - 4 - 24, 0, "edit-word-wrap", &p),
+                 QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 12, OPT_DLG_H,
+                                 N_("&Tab completion"), &option_supertab),
         /*  4 */ QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 11, OPT_DLG_H,
                                  N_("&Group undo"), &option_group_undo),
         /*  5 */ QUICK_CHECKBOX (OPT_DLG_W / 2 + 1, OPT_DLG_W, 10, OPT_DLG_H,
diff -uNr mc-4.8.4.orig/src/setup.c mc-4.8.4/src/setup.c
--- mc-4.8.4.orig/src/setup.c	2012-09-02 10:16:44.000000000 +0400
+++ mc-4.8.4/src/setup.c	2012-09-02 11:19:18.000000000 +0400
@@ -307,6 +307,7 @@
     { "editor_option_save_position", &option_save_position },
     { "editor_option_auto_para_formatting", &option_auto_para_formatting },
     { "editor_option_typewriter_wrap", &option_typewriter_wrap },
+    { "editor_option_supertab", &option_supertab },
     { "editor_edit_confirm_save", &edit_confirm_save },
     { "editor_syntax_highlighting", &option_syntax_highlighting },
     { "editor_persistent_selections", &option_persistent_selections },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]