]> granicus.if.org Git - vim/commitdiff
updated for version 7.0186 v7.0186
authorBram Moolenaar <Bram@vim.org>
Mon, 23 Jan 2006 22:30:28 +0000 (22:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 23 Jan 2006 22:30:28 +0000 (22:30 +0000)
runtime/doc/options.txt
runtime/doc/spell.txt
runtime/doc/syntax.txt
runtime/doc/todo.txt
src/ex_cmds2.c
src/option.c
src/popupmenu.c
src/screen.c
src/ui.c
src/version.h

index 2a812fe40b709021de7bfa53439728a510ce15d7..4c04f09dd53e8709dd10cf40138f91e636bfa6fb 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 7.0aa.  Last change: 2006 Jan 20
+*options.txt*  For Vim version 7.0aa.  Last change: 2006 Jan 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -162,6 +162,11 @@ include the "|" in the option value, use "\|" instead.  This example sets the
 This sets the 'titlestring' option to "hi" and 'iconstring' to "there": >
    :set titlestring=hi|set iconstring=there
 
+Similarly, the double quote character starts a comment.  To include the '"' in
+the option value, use '\"' instead.  This example sets the 'titlestring'
+option to 'hi "there"': >
+   :set titlestring=hi\ \"there\"
+
 For MS-DOS and WIN32 backslashes in file names are mostly not removed.  More
 precise: For options that expect a file name (those where environment
 variables are expanded) a backslash before a normal file name character is not
index 6393565a965da1527c12d109d51dc3253e98b732..aa9c4e4755e4e52ff070e6446c4d34b708fa0d45 100644 (file)
@@ -1,4 +1,4 @@
-*spell.txt*    For Vim version 7.0aa.  Last change: 2006 Jan 22
+*spell.txt*    For Vim version 7.0aa.  Last change: 2006 Jan 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -129,8 +129,10 @@ z=                 For the word under/after the cursor suggest correctly
                        spelled words.  This also works to find alternatives
                        for a word that is not highlighted as a bad word,
                        e.g., when the word after it is bad.
-                       The results are sorted on similarity to the word
-                       under/after the cursor.
+                       In Visual mode the highlighted text is taken as the
+                       word to be replaced.
+                       The results are sorted on similarity to the word being
+                       replaced.
                        This may take a long time.  Hit CTRL-C when you get
                        bored.
 
index 4b27b68f76888ca63be82a2c25cb8aaf8d6139c5..0b88a6db1180318e3a6605aacbdb4fd0c4c83ccc 100644 (file)
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 7.0aa.  Last change: 2006 Jan 17
+*syntax.txt*   For Vim version 7.0aa.  Last change: 2006 Jan 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -3900,8 +3900,8 @@ guifg={color-name}                                        *highlight-guifg*
 guibg={color-name}                                     *highlight-guibg*
 guisp={color-name}                                     *highlight-guisp*
        These give the foreground (guifg), background (guibg) and special
-       (guisp) color to use in the GUI.  "guisp" is used for underline and
-       undercurl.  There are a few special names:
+       (guisp) color to use in the GUI.  "guisp" is used for undercurl.
+       There are a few special names:
                NONE            no color (transparent)
                bg              use normal background color
                background      use normal background color
index 01f88e83ed7e9b063d618fda027915f827d9716f..aa6e2fe3cb69823778ed8378add7ace53724f56f 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.0aa.  Last change: 2006 Jan 22
+*todo.txt*      For Vim version 7.0aa.  Last change: 2006 Jan 23
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -30,8 +30,12 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
                                                        *known-bugs*
 -------------------- Known bugs and current work -----------------------
 
+When ":silent" is used mode message is (should) not be displayed.  Thus don't
+set clear_cmdline to clear it.  Use separate flag to remember whether mode is
+currently displayed (and needs to be cleared).
+
+
 ccomplete:
-- When using page-up/page-down in menu it sometimes jumps more than a page.
 - When an option is set: In completion mode and the user types (identifier)
   characters, advance to the first match instead of removing the popup menu.
   If there is no match remove the selection. (Yegappan Lakshmanan)
index 0926e9b30855b78a4b1d323d51597b636e884837..8a7999ff22f2cbc68f1542984ba9315d8861ffc0 100644 (file)
@@ -1608,8 +1608,7 @@ get_arglist(gap, str)
     return OK;
 }
 
-#if defined(FEAT_QUICKFIX) || (defined(FEAT_SYN_HL) && defined(FEAT_MBYTE)) \
-       || defined(PROTO)
+#if defined(FEAT_QUICKFIX) || defined(FEAT_SYN_HL) || defined(PROTO)
 /*
  * Parse a list of arguments (file names), expand them and return in
  * "fnames[fcountp]".
index 33a7db5600b3a119d2674fa51028e624b4a33545..b7f1cf02bf447e4ea2dfdd18dab3af6656090e49 100644 (file)
@@ -6743,7 +6743,7 @@ set_bool_option(opt_idx, varp, value, opt_flags)
        {
            need_start_insertmode = FALSE;
            stop_insert_mode = TRUE;
-           if (p_smd && restart_edit != 0)
+           if (p_smd && msg_silent == 0 && restart_edit != 0)
                clear_cmdline = TRUE;   /* remove "(insert)" */
            restart_edit = 0;
        }
index acc111ec2a63c8c2c2eb7a2b14c91e460e5386ee..a129d146ab815c9280f11225d3681dd56e368fee 100644 (file)
@@ -240,12 +240,14 @@ pum_set_selected(n)
        if (pum_first > pum_selected - 4)
        {
            /* scroll down; when we did a jump it's probably a PageUp then
-            * scroll to put the selected entry at the bottom */
+            * scroll a whole page */
            if (pum_first > pum_selected - 2)
            {
-               pum_first = pum_selected - pum_height + 1;
+               pum_first -= pum_height - 2;
                if (pum_first < 0)
                    pum_first = 0;
+               else if (pum_first > pum_selected)
+                   pum_first = pum_selected;
            }
            else
                pum_first = pum_selected;
@@ -253,9 +255,13 @@ pum_set_selected(n)
        else if (pum_first < pum_selected - pum_height + 5)
        {
            /* scroll up; when we did a jump it's probably a PageDown then
-            * scroll to put the selected entry at the top */
+            * scroll a whole page */
            if (pum_first < pum_selected - pum_height + 1 + 2)
-               pum_first = pum_selected;
+           {
+               pum_first += pum_height - 2;
+               if (pum_first < pum_selected - pum_height + 1)
+                   pum_first = pum_selected - pum_height + 1;
+           }
            else
                pum_first = pum_selected - pum_height + 1;
        }
index c067d92c09aa34689808e27730999ba9f6d67578..4657566f74d51073a45303eebf56e858a5bea3af 100644 (file)
@@ -8174,7 +8174,9 @@ showmode()
     int                sub_attr;
 #endif
 
-    do_mode = (p_smd && ((State & INSERT) || restart_edit
+    do_mode = ((p_smd && msg_silent == 0)
+           && ((State & INSERT)
+               || restart_edit
 #ifdef FEAT_VISUAL
                || VIsual_active
 #endif
index ba5911f8a41c2b2d3033d31a7a1aefb459e06d2c..0ee61c274eaebcc5a85809f9aa62705b27b6f7ea 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -2757,7 +2757,7 @@ retnomove:
        /* if 'selectmode' contains "mouse", start Select mode */
        may_start_select('o');
        setmouse();
-       if (p_smd)
+       if (p_smd && msg_silent == 0)
            redraw_cmdline = TRUE;      /* show visual mode later */
     }
 #endif
index e22cb3857cf32c5e8418cad6c6a5121ba80e5d46..3d42437adf41f7c56d611c48a83737a5d4629197 100644 (file)
@@ -36,5 +36,5 @@
 #define VIM_VERSION_NODOT      "vim70aa"
 #define VIM_VERSION_SHORT      "7.0aa"
 #define VIM_VERSION_MEDIUM     "7.0aa ALPHA"
-#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 22)"
-#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 22, compiled "
+#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 23)"
+#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 23, compiled "