]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.925 v7.3.925
authorBram Moolenaar <Bram@vim.org>
Mon, 6 May 2013 02:24:17 +0000 (04:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 6 May 2013 02:24:17 +0000 (04:24 +0200)
Problem:    Typos in source files.
Solution:   Fix the typos. (Ken Takata)

72 files changed:
runtime/plugin/matchparen.vim
runtime/tools/vim_vs_net.cmd
src/GvimExt/gvimext.cpp
src/INSTALLvms.txt
src/Make_cyg.mak
src/Make_mvc.mak
src/Make_sas.mak
src/Make_vms.mms
src/Make_w16.mak
src/Makefile
src/VisVim/OleAut.cpp
src/VisVim/README_VisVim.txt
src/auto/configure
src/buffer.c
src/configure.in
src/diff.c
src/dosinst.c
src/edit.c
src/eval.c
src/ex_cmds2.c
src/ex_docmd.c
src/ex_eval.c
src/farsi.c
src/feature.h
src/fileio.c
src/glbl_ime.cpp
src/gui.c
src/gui_athena.c
src/gui_beval.c
src/gui_gtk_x11.c
src/gui_mac.c
src/gui_motif.c
src/gui_photon.c
src/gui_w16.c
src/gui_w32.c
src/gui_w48.c
src/gui_xmebw.c
src/gui_xmebwp.h
src/hardcopy.c
src/if_cscope.c
src/if_mzsch.c
src/if_ole.cpp
src/if_perl.xs
src/if_py_both.h
src/if_python.c
src/if_python3.c
src/if_ruby.c
src/main.aap
src/mbyte.c
src/memfile.c
src/memline.c
src/misc1.c
src/misc2.c
src/nbdebug.c
src/normal.c
src/ops.c
src/os_amiga.c
src/os_mac.h
src/os_msdos.c
src/os_mswin.c
src/os_win16.h
src/os_win32.c
src/os_win32.h
src/quickfix.c
src/screen.c
src/search.c
src/spell.c
src/structs.h
src/syntax.c
src/version.c
src/window.c
vimtutor.com

index c9cf903d5120db76e2b3651b50926bb924ad2b62..2965ad147191a0059da557eb9a959a40ebf5cc9b 100644 (file)
@@ -5,7 +5,7 @@
 " Exit quickly when:
 " - this plugin was already loaded (or disabled)
 " - when 'compatible' is set
-" - the "CursorMoved" autocmd event is not availble.
+" - the "CursorMoved" autocmd event is not available.
 if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
   finish
 endif
index 6307d95a59c219eb75be029eb26bf33abbaf40ba..bea6353f676aa09ae60708c18081d28506a6ded4 100644 (file)
@@ -7,12 +7,12 @@
 @rem      Arguments - +$(CurLine) $(ItemPath)
 @rem      Init Dir  - Empty
 @rem
-@rem Coutesy of Brian Sturk
+@rem Courtesy of Brian Sturk
 @rem
 @rem --remote-silent +%1 is a command +954, move ahead 954 lines
 @rem --remote-silent %2 full path to file
 @rem In Vim
-@rem    :h --remote-silent for mor details
+@rem    :h --remote-silent for more details
 @rem
 @rem --servername VS_NET
 @rem This will create a new instance of vim called VS_NET.  So if you
index 975453cafa5e1b4be656b5eec9dbf245e3d029e7..70448b8d699cd301cb7303b43588a8c1edb37087 100644 (file)
@@ -527,7 +527,7 @@ STDMETHODIMP_(ULONG) CShellExt::Release()
 //
 //  PARAMETERS:
 //    pIDFolder - Specifies the parent folder
-//    pDataObj  - Spefifies the set of items selected in that folder.
+//    pDataObj  - Specifies the set of items selected in that folder.
 //    hRegKey   - Specifies the type of the focused item in the selection.
 //
 //  RETURN VALUE:
index 400d85638a6c3e59c010d5d8d7a81de361c3fd98..cbcbc4928be48d2d8131efac5bbcbb101838782a 100644 (file)
@@ -330,7 +330,7 @@ perl_env :
      Also VMS_JACKETS.EXE from OpenVMS Porting Library.
 
      Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
-     complier directives that is not compatible with "standard" VMS usage,
+     compiler directives that is not compatible with "standard" VMS usage,
      therefore other external features might fail as PERL, PYTHON and TCL
      support.
 
index e35e2e358efb45860f0bcfb4b08b89a0783c2d30..b00ae3b71bd9f47f4a2b05e0727394e099ebae97 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Makefile for VIM on Win32, using Cygnus gcc
-# Last updated by Dan Sharp.  Last Change: 2013 Feb 17
+# Last updated by Dan Sharp.  Last Change: 2013 Apr 22
 #
 # Also read INSTALLpc.txt!
 #
@@ -48,7 +48,7 @@
 # USEDLL       no or yes: set to yes to use the Runtime library DLL (no)
 #              For USEDLL=yes the cygwin1.dll is required to run Vim.
 #              For "no" the mingw-gcc-g++ package or the mingw64-i686-gcc-g++
-#              package is required to complie Vim.  Or set CC to gcc-3 and add
+#              package is required to compile Vim.  Or set CC to gcc-3 and add
 #              -L/lib/w32api to EXTRA_LIBS.
 # POSTSCRIPT   no or yes: set to yes for PostScript printing (no)
 # FEATURES     TINY, SMALL, NORMAL, BIG or HUGE (BIG)
index e0f48566a7607a9d95021c30c14c0ffad44f0e01..36da162225c58f4482be3a2210e62c7da8834386 100644 (file)
@@ -418,7 +418,7 @@ MSVCVER = 11.0
 !endif
 !endif
 
-# Abort bulding VIM if version of VC is unrecognised.
+# Abort building VIM if version of VC is unrecognised.
 !ifndef MSVCVER
 !message *** ERROR
 !message Cannot determine Visual C version being used.  If you are using the
index ff678d171ba8277f16b0871fc18536d5d556a4fc..bf57c0dcb2b94f5acbd25a7c958aa53d608ca584 100644 (file)
@@ -251,7 +251,7 @@ clean:
 
 # generate GlobalSymbolTable, which speeds up the compile time.
 #
-# A preprocessing stage is used to work arounda bug in the GST generator, in
+# A preprocessing stage is used to work around a bug in the GST generator, in
 # that it does not handle nested makefiles properly in this stage.
 # Ignore error message for not producing any code (105).
 $(GST): scoptions vim.h keymap.h macros.h ascii.h term.h structs.h
@@ -283,7 +283,7 @@ $(PRO): $(GST) vim.h
 .c.pro:
        $(CC) $(CFLAGS) GPFILE=proto/$*.pro $(PROPT) $*.c
 
-# dependancies
+# dependencies
 blowfish.o:            blowfish.c
 proto/blowfish.pro:    blowfish.c
 buffer.o:              buffer.c
index 7cb5614b84aaaf4fe9807f16bc5b3f7c042dc6c1..86b61d63f2ae6cc8263b0ba12089aa1c2a73fc85 100644 (file)
@@ -34,7 +34,7 @@ DECC = YES
 # SMALL  - Few features enabled, as basic as possible
 # NORMAL - A default selection of features enabled
 # BIG    - Many features enabled, as rich as possible. (default)
-# HUGE   - All possible featues enabled.
+# HUGE   - All possible features enabled.
 # Please select one of these alternatives above.
 MODEL = HUGE
 
@@ -55,7 +55,7 @@ MODEL = HUGE
 # Comment out if you want the compiler version with :ver command.
 # NOTE: This part can make some complications if you're using some
 # predefined symbols/flags for your compiler. If does, just leave behind
-# the comment varialbe CCVER.
+# the comment variable CCVER.
 CCVER = YES
 
 # Uncomment if want a debug version. Resulting executable is DVIM.EXE
index e4a6805c8e7688a6e4eee83bd3e819b7ab9bcc36..bc7809ecaad4fcbe5868028b060481ce134057f3 100644 (file)
@@ -4,7 +4,7 @@
 # *************************************************************
 # * WARNING!
 # * This was originally produced by the IDE, but has since been
-# * modifed to make it work properly. Adjust with care!
+# * modified to make it work properly. Adjust with care!
 # * In particular, leave LinkerLocalOptsAtW16_gvim16dexe alone
 # * unless you are a guru.
 # *************************************************************
index 5da81989136b0aebaf1bfcb31df09a7cd1e203ac..fb821ca8c7783a966cc13fa0db19268fd3143483 100644 (file)
 #Solaris 2.5 (sun4m)  cc (SC4.0)     +X11R6 +GUI (CDE) 4.6b (E) Andrew Large
 #Solaris 2.5         cc             +X11 +GUI Athena   4.2  (9) Sonia Heimann
 #Solaris 2.5         gcc 2.5.6      +X11 Motif         5.0m (R) Ant. Colombo
-#Solaris 2.6         gcc 2.8.1      ncursus            5.3  (G) Larry W. Virden
+#Solaris 2.6         gcc 2.8.1      ncurses            5.3  (G) Larry W. Virden
 #Solaris with -lthread                                 5.5  (W) K. Nagano
 #Solaris             gcc                                    (b) Riccardo
 #SunOS 4.1.x                        +X11 -GUI          5.1b (J) Bram Moolenaar
 # (D)  Uncomment lines below for QNX
 # (E)  You might want to use termlib instead of termcap, see below.
 # (F)  See below for instructions.
-# (G)  Using ncursus version 4.2 has reported to cause a crash.  Use the
-#      Sun cursus library instead.
+# (G)  Using ncurses version 4.2 has reported to cause a crash.  Use the
+#      Sun curses library instead.
 # (H)  See line for EXTRA_LIBS below.
 # (I)  SINIX-N 5.42 and 5.43 need some EXTRA_LIBS.  Also for Reliant-Unix.
 # (J)  If you get undefined symbols, see below for a solution.
@@ -402,7 +402,7 @@ CClink = $(CC)
 # to the command line. If you see strange flags during compilation, check in
 # auto/config.mk where they come from.  If it's PERL_CFLAGS, try commenting
 # the next line.
-# When you get an error for a missing "perl.exp" file, try creating an emtpy
+# When you get an error for a missing "perl.exp" file, try creating an empty
 # one: "touch perl.exp".
 # This requires at least "small" features, "tiny" doesn't work.
 #CONF_OPT_PERL = --enable-perlinterp
@@ -601,7 +601,7 @@ LINT_OPTIONS = -beprxzF
 # Might not work with GUI or Perl.
 # For unknown reasons adding "-lc" fixes a linking problem with some versions
 # of GCC.  That's probably a bug in the "-pg" implementation.
-# After running Vim see the profile result with: gmon vim gmon.out | vim -
+# After running Vim see the profile result with: gprof vim gmon.out | vim -
 # Need to recompile everything after changing this: "make clean" "make".
 #PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING
 #PROFILE_LIBS = -pg
@@ -1294,7 +1294,7 @@ ALL_GUI_PRO  = gui.pro gui_gtk.pro gui_motif.pro gui_xmdlg.pro gui_athena.pro gu
 ### prototype headers are ignored due to -DPROTO, system
 ### headers #include <...> are ignored if we use the -MM option, as
 ### e.g. provided by gcc-cpp.
-### Include FEAT_GUI to get gependency on gui.h
+### Include FEAT_GUI to get dependency on gui.h
 ### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
 CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
                `echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
@@ -1717,7 +1717,7 @@ CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
 
 
 # Link the target for normal use or debugging.
-# A shell script is used to try linking without unneccesary libraries.
+# A shell script is used to try linking without unnecessary libraries.
 $(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
        $(CCC) version.c -o objects/version.o
        @LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
@@ -1837,8 +1837,8 @@ types.vim: $(TAGS_SRC) $(TAGS_INCL)
 #
 # This will produce a lot of garbage on your screen, including a few error
 # messages.  Don't worry about that.
-# If there is a real error, there will be a difference between "test.out" and
-# a "test99.ok" file.
+# If there is a real error, there will be a difference between "testXX.out" and
+# a "testXX.ok" file.
 # If everything is alright, the final message will be "ALL DONE".  If not you
 # get "TEST FAILURE".
 #
@@ -2779,9 +2779,9 @@ bundle-rsrc: os_mac.rsr.hqx
        mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
 
 # po/Make_osx.pl says something about generating a Mac message file
-# for Ukrananian.  Would somebody using Mac OS X in Ukranian
+# for Ukrainian.  Would somebody using Mac OS X in Ukrainian
 # *really* be upset that Carbon Vim was not localised in
-# Ukranian?
+# Ukrainian?
 #
 #bundle-language: bundle-dir po/Make_osx.pl
 #      cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
index f96b03d6ebcf326d0d4201d0a69f75334ba4bf87..6902df9a66c076fea2033908e21201f839d1be74 100644 (file)
@@ -654,7 +654,7 @@ void COleAutomationControl::ErrDiag ()
        }
 
        char Buf[256];
-       sprintf (Buf, "An OLE error occured:\r\nCode = %s\r\nResult = %lx.",
+       sprintf (Buf, "An OLE error occurred:\r\nCode = %s\r\nResult = %lx.",
                 (char*) ErrName, m_hResult);
        MessageBox (NULL, Buf, "OLE Error", MB_OK);
 }
index abb690459a0cf42136e571114a54518fae15a540..fbe4b8b61aef130acdf2c817d115c42f7c4bba67 100644 (file)
@@ -220,7 +220,7 @@ Troubleshooting
                 2. Close Visual Studio.
                 3. Delete VisVim.dll or move it somewhere it can't be found.
                 4. Run Visual Studio.
-                5. Tools -> Cursomize ->Add-ins and Macro-Files.
+                5. Tools -> Customize ->Add-ins and Macro-Files.
                 6. A message appears:
                    ".../VisVim.dll" "This add-in no longer exists.  It will
                    no longer be displayed."
@@ -298,7 +298,7 @@ P9  Switching to DevStudio using ALT-TAB may get annoying. Would be nice to
 P8  Execute :tag command in Vim for word under cursor in DevStudio
 
 P7  Controlling the Visual Studio Debugger from inside Vim
-    See message above. Also a 'Debug' highligh group and a
+    See message above. Also a 'Debug' highlight group and a
     command to highlight a certain line would be necessary.
 
 P6  Provide an option to open the current file in VisVim in
index f5fc87f30c0430c547a14f30c8ff58fdd3a4089e..6130945890f5e527a81fecbb1fcce1a81c9719fc 100755 (executable)
@@ -5831,7 +5831,7 @@ else
     /* If this program fails, then RTLD_GLOBAL is needed.
      * RTLD_GLOBAL will be used and then it is not possible to
      * have both python versions enabled in the same vim instance.
-     * Only the first pyhton version used will be switched on.
+     * Only the first python version used will be switched on.
      */
 
     int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
@@ -5897,7 +5897,7 @@ else
     /* If this program fails, then RTLD_GLOBAL is needed.
      * RTLD_GLOBAL will be used and then it is not possible to
      * have both python versions enabled in the same vim instance.
-     * Only the first pyhton version used will be switched on.
+     * Only the first python version used will be switched on.
      */
 
     int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
@@ -10593,7 +10593,7 @@ if test "x$vim_cv_tty_group" != "xworld" ; then
 _ACEOF
 
   if test "x$vim_cv_tty_mode" = "x" ; then
-    as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" "$LINENO" 5
+    as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)" "$LINENO" 5
   else
     $as_echo "#define PTYMODE 0620" >>confdefs.h
 
index 1840e10961730a34780b23ddbea96e81508ba3e1..54f65442542a13b743d7640b15e36ef43d48d4ba 100644 (file)
@@ -2005,7 +2005,7 @@ buflist_getfile(n, lnum, options, forceit)
         * "buf" if one exists */
        if (swb_flags & SWB_USEOPEN)
            wp = buf_jump_open_win(buf);
-       /* If 'switchbuf' contians "usetab": jump to first window in any tab
+       /* If 'switchbuf' contains "usetab": jump to first window in any tab
         * page containing "buf" if one exists */
        if (wp == NULL && (swb_flags & SWB_USETAB))
            wp = buf_jump_open_tab(buf);
index 310dea4fcbd638e6a7580609de81eb42f6e8685c..34a75b3cd8ffcb4bcb3d862bce4d98132cbc2ef0 100644 (file)
@@ -306,7 +306,7 @@ esac
 AC_SUBST(line_break)
 
 if test "$cf_cv_ebcdic" = "yes"; then
-dnl If we have EBCDIC we most likley have z/OS Unix, let's test it!
+dnl If we have EBCDIC we most likely have z/OS Unix, let's test it!
 AC_MSG_CHECKING(for z/OS Unix)
 case `uname` in
     OS/390)    zOSUnix="yes";
@@ -1228,7 +1228,7 @@ if test "$python_ok" = yes && test "$python3_ok" = yes; then
     /* If this program fails, then RTLD_GLOBAL is needed.
      * RTLD_GLOBAL will be used and then it is not possible to
      * have both python versions enabled in the same vim instance.
-     * Only the first pyhton version used will be switched on.
+     * Only the first python version used will be switched on.
      */
 
     int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
@@ -1274,7 +1274,7 @@ if test "$python_ok" = yes && test "$python3_ok" = yes; then
     /* If this program fails, then RTLD_GLOBAL is needed.
      * RTLD_GLOBAL will be used and then it is not possible to
      * have both python versions enabled in the same vim instance.
-     * Only the first pyhton version used will be switched on.
+     * Only the first python version used will be switched on.
      */
 
     int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
@@ -3002,7 +3002,7 @@ rm -f conftest_grp
 if test "x$vim_cv_tty_group" != "xworld" ; then
   AC_DEFINE_UNQUOTED(PTYGROUP,$vim_cv_tty_group)
   if test "x$vim_cv_tty_mode" = "x" ; then
-    AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)])
+    AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)])
   else
     AC_DEFINE(PTYMODE, 0620)
   fi
index f56046095cb9b7f0439959314d8f2885119a6875..cf091408d4788984acebb698118f59b2581c21a7 100644 (file)
@@ -1110,7 +1110,7 @@ ex_diffsplit(eap)
 }
 
 /*
- * Set options to show difs for the current window.
+ * Set options to show diffs for the current window.
  */
     void
 ex_diffthis(eap)
index 6bc15fc7d446909d4f5c4a7d5c22177f7ae70f50..3c5e59bd5d9ee922c9707f58aea5b3dec764ec66 100644 (file)
@@ -1609,7 +1609,7 @@ change_openwith_choice(int idx)
 
 /*
  * Only add the choice for the open-with menu entry when gvim.exe was found
- * and and regedit.exe exist.
+ * and regedit.exe exist.
  */
     static void
 init_openwith_choice(void)
index 65038e4372b62320fe8e58881f008674dda158e5..6c210101563bfeb7cb3f86480f9fa4ffef0fb0ee 100644 (file)
@@ -1418,7 +1418,7 @@ docomplete:
 
 normalchar:
            /*
-            * Insert a nomal character.
+            * Insert a normal character.
             */
 #ifdef FEAT_AUTOCMD
            if (!p_paste)
@@ -7162,7 +7162,7 @@ cursor_up(n, upd_topline)
            /*
             * Count each sequence of folded lines as one logical line.
             */
-           /* go to the the start of the current fold */
+           /* go to the start of the current fold */
            (void)hasFolding(lnum, &lnum, NULL);
 
            while (n--)
@@ -7213,7 +7213,7 @@ cursor_down(n, upd_topline)
        (void)hasFolding(lnum, NULL, &lnum);
 #endif
        /* This fails if the cursor is already in the last line or would move
-        * beyound the last line and '-' is in 'cpoptions' */
+        * beyond the last line and '-' is in 'cpoptions' */
        if (lnum >= curbuf->b_ml.ml_line_count
                || (lnum + n > curbuf->b_ml.ml_line_count
                    && vim_strchr(p_cpo, CPO_MINUS) != NULL))
@@ -7715,7 +7715,7 @@ fix_indent()
 /*
  * return TRUE if 'cinkeys' contains the key "keytyped",
  * when == '*':            Only if key is preceded with '*'    (indent before insert)
- * when == '!':            Only if key is prededed with '!'    (don't insert)
+ * when == '!':            Only if key is preceded with '!'    (don't insert)
  * when == ' ':            Only if key is not preceded with '*'(indent afterwards)
  *
  * "keytyped" can have a few special values:
@@ -8541,7 +8541,7 @@ ins_start_select(c)
 #endif
 
 /*
- * <Insert> key in Insert mode: toggle insert/remplace mode.
+ * <Insert> key in Insert mode: toggle insert/replace mode.
  */
     static void
 ins_insert(replaceState)
index e757f6bc7fdddd67d11a209bfc4bff4827c04651..04ed2c5bcef865924d0a631f1be87e2d16ec3c3b 100644 (file)
@@ -16669,7 +16669,7 @@ restore_win(save_curwin, save_curtab)
     tabpage_T  *save_curtab;
 {
 #ifdef FEAT_WINDOWS
-    /* Restore current tabpage and window, if still valid (autocomands can
+    /* Restore current tabpage and window, if still valid (autocommands can
      * make them invalid). */
     if (valid_tabpage(save_curtab))
        goto_tabpage_tp(save_curtab, TRUE);
index 11446efd414e29960191b6a127b660d5eff27bed..c2f768a1d5ca35772424e26b3e1ec6af7452b69e 100644 (file)
@@ -2851,7 +2851,7 @@ cmd_source(fname, eap)
        EMSG(_(e_argreq));
 
     else if (eap != NULL && eap->forceit)
-       /* ":source!": read Normal mdoe commands
+       /* ":source!": read Normal mode commands
         * Need to execute the commands directly.  This is required at least
         * for:
         * - ":g" command busy
index 30fe937b560903c516e66b0172d9ded3196174d8..4a372b5953413e21797ddfb6be3415f8261ad364 100644 (file)
@@ -1093,7 +1093,7 @@ do_cmdline(cmdline, fgetline, cookie, flags)
                msg_didany = FALSE; /* no output yet */
                msg_start();
                msg_scroll = TRUE;  /* put messages below each other */
-               ++no_wait_return;   /* dont wait for return until finished */
+               ++no_wait_return;   /* don't wait for return until finished */
                ++RedrawingDisabled;
                did_inc = TRUE;
            }
@@ -1298,7 +1298,7 @@ do_cmdline(cmdline, fgetline, cookie, flags)
            && !(did_emsg
 #ifdef FEAT_EVAL
                /* Keep going when inside try/catch, so that the error can be
-                * dealth with, except when it is a syntax error, it may cause
+                * deal with, except when it is a syntax error, it may cause
                 * the :endtry to be missed. */
                && (cstack.cs_trylevel == 0 || did_emsg_syntax)
 #endif
@@ -10982,7 +10982,7 @@ ses_put_fname(fd, name, flagp)
                *p = '/';
     }
 
-    /* escapse special characters */
+    /* escape special characters */
     p = vim_strsave_fnameescape(sname, FALSE);
     vim_free(sname);
     if (p == NULL)
index fc23cace20b5edac50c2b13c406345992baa5e45..5b849696e09cba8569cd3a93e23fe4c9956fc51c 100644 (file)
@@ -44,7 +44,7 @@ static char_u *get_end_emsg __ARGS((struct condstack *cstack));
  * executed.  Otherwise, errors and/or interrupts are converted into catchable
  * exceptions (did_throw additionally set), which terminate the script only if
  * not caught.  For user exceptions, only did_throw is set.  (Note: got_int can
- * be set asyncronously afterwards by a SIGINT, so did_throw && got_int is not
+ * be set asynchronously afterwards by a SIGINT, so did_throw && got_int is not
  * a reliant test that the exception currently being thrown is an interrupt
  * exception.  Similarly, did_emsg can be set afterwards on an error in an
  * (unskipped) conditional command inside an inactive conditional, so did_throw
@@ -2091,11 +2091,11 @@ leave_cleanup(csp)
  * Values used for "searched_cond" are (CSF_WHILE | CSF_FOR) or CSF_TRY or 0,
  * the latter meaning the innermost try conditional not in its finally clause.
  * "inclusive" tells whether the conditional searched for should be made
- * inactive itself (a try conditional not in its finally claused possibly find
+ * inactive itself (a try conditional not in its finally clause possibly find
  * before is always made inactive).  If "inclusive" is TRUE and
  * "searched_cond" is CSF_TRY|CSF_SILENT, the saved former value of
  * "emsg_silent", if reset when the try conditional finally reached was
- * entered, is restored (unsed by ex_endtry()).  This is normally done only
+ * entered, is restored (used by ex_endtry()).  This is normally done only
  * when such a try conditional is left.
  */
     int
index f7662ac22b777c102dc917fae2aefbc5a97bd7fb..be4c1ce7dc0b8cfd0aeea3cf8ecf7ebf35a15899 100644 (file)
@@ -1841,7 +1841,7 @@ conv_to_pvim()
 }
 
 /*
- * Convert the Farsi VIM into Farsi 3342 standad.
+ * Convert the Farsi VIM into Farsi 3342 standard.
  */
     void
 conv_to_pstd()
index 330a74868ed3bdcd2f895b7a77d79117e31e422f..5945ca4311009b4a52b438be31a005b2aee16b5b 100644 (file)
 
 /*
  * MODIFIED_BY         Name of who modified Vim.  Required when distributing
- *                     a modifed version of Vim.
+ *                     a modified version of Vim.
  *                     Also from the "--with-modified-by" configure argument.
  */
 /* #define MODIFIED_BY "John Doe" */
index 46fdea9b45e1e404e475f1a65a299b63904696b4..1ce20405171ff3caae4c9c39f16d5e4692f34e2f 100644 (file)
@@ -3279,7 +3279,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
        overwriting = FALSE;
 
     if (exiting)
-       settmode(TMODE_COOK);       /* when exiting allow typahead now */
+       settmode(TMODE_COOK);       /* when exiting allow typeahead now */
 
     ++no_wait_return;              /* don't wait for return yet */
 
@@ -3303,7 +3303,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
        int             empty_memline = (buf->b_ml.ml_mfp == NULL);
 
        /*
-        * Apply PRE aucocommands.
+        * Apply PRE autocommands.
         * Set curbuf to the buffer to be written.
         * Careful: The autocommands may call buf_write() recursively!
         */
@@ -8866,7 +8866,7 @@ aucmd_prepbuf(aco, buf)
     else
     {
        /* There is no window for "buf", use "aucmd_win".  To minimize the side
-        * effects, insert it in the current tab page.
+        * effects, insert it in the current tab page.
         * Anything related to a window (e.g., setting folds) may have
         * unexpected results. */
        aco->use_aucmd_win = TRUE;
index 1abfeaf57ed00dde4a08e756e37725c04f050bd7..3cca0b79d55d33e2e76a4eb741db847d03e79be5 100644 (file)
@@ -156,7 +156,7 @@ global_ime_TranslateMessage(CONST MSG *lpMsg)
 }
 
 /*
- * Set position of IME compotision window.
+ * Set position of IME composition window.
  *
  * You have to call this before starting composition.  If once composition
  * started, this can take no effect until that composition have finished.  So
index 1c60b7a60a7ad01e82edc14b24971fe9d717346b..0c21976f7cdc3a1d9732e2d882e28bb758bf24b3 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -826,7 +826,7 @@ gui_shell_closed()
 #endif
 
 /*
- * Set the font.  "font_list" is a comma separated list of font names.  The
+ * Set the font.  "font_list" is a comma separated list of font names.  The
  * first font name that works is used.  If none is found, use the default
  * font.
  * If "fontset" is TRUE, the "font_list" is used as one name for the fontset.
@@ -2376,7 +2376,7 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
     {
        int     start;          /* index of bytes to be drawn */
        int     cells;          /* cellwidth of bytes to be drawn */
-       int     thislen;        /* length of bytes to be drawin */
+       int     thislen;        /* length of bytes to be drawn */
        int     cn;             /* cellwidth of current char */
        int     i;              /* index of current char */
        int     c;              /* current char value */
@@ -3886,7 +3886,7 @@ gui_drag_scrollbar(sb, value, still_dragging)
        gui.dragged_sb = SBAR_NONE;
 #ifdef FEAT_GUI_GTK
        /* Keep the "dragged_wp" value until after the scrolling, for when the
-        * moust button is released.  GTK2 doesn't send the button-up event. */
+        * mouse button is released.  GTK2 doesn't send the button-up event. */
        gui.dragged_wp = NULL;
 #endif
     }
index c8d8e98df00d261722b742c30333306255eee381..03fea900249cf76f08be0aace01b18224ea36f29 100644 (file)
@@ -519,7 +519,7 @@ createXpmImages(path, xpm, sen)
            &color[TOP_SHADOW].pixel,
            &color[HIGHLIGHT].pixel);
 
-    /* Setup the color subsititution table */
+    /* Setup the color substitution table */
     attrs.valuemask = XpmColorSymbols;
     attrs.colorsymbols = color;
     attrs.numsymbols = 5;
index 84d6acdeda9e82899ce14b82f41ede4cdf079994..fe930f3faf60cd63630f3615a0456506f65ef78f 100644 (file)
@@ -726,7 +726,7 @@ pointerEvent(beval, event)
     BalloonEval        *beval;
     XEvent     *event;
 {
-    Position   distance;           /* a measure of how much the ponter moved */
+    Position   distance;           /* a measure of how much the pointer moved */
     Position   delta;              /* used to compute distance */
 
     switch (event->type)
index 61432a20d92e36695f749dc64a209f6f3e41a33f..ceade7526f2cdc0599bc760f95b49b6837efac26 100644 (file)
@@ -1257,7 +1257,7 @@ selection_received_cb(GtkWidget           *widget UNUSED,
        }
     }
 
-    /* Chop off any traiing NUL bytes.  OpenOffice sends these. */
+    /* Chop off any trailing NUL bytes.  OpenOffice sends these. */
     while (len > 0 && text[len - 1] == NUL)
        --len;
 
index 5ba9fec8f39a4b4d92a333b399fd3a0a9e90d376..573dc7a116cd4abd1598734cd7d48e956559c72b 100644 (file)
@@ -41,7 +41,7 @@
 #define USE_AEVENT             /* Enable AEVENT */
 #undef USE_OFFSETED_WINDOW     /* Debugging feature: start Vim window OFFSETed */
 
-/* Compile as CodeWarior External Editor */
+/* Compile as CodeWarrior External Editor */
 #if defined(FEAT_CW_EDITOR) && !defined(USE_AEVENT)
 # define USE_AEVENT /* Need Apple Event Support */
 #endif
@@ -1478,7 +1478,7 @@ GetFontPanelSelection(char_u *outName)
 /*
  *  gui_mac_get_menu_item_index
  *
- *  Returns the index inside the menu wher
+ *  Returns the index inside the menu where
  */
     short /* Should we return MenuItemIndex? */
 gui_mac_get_menu_item_index(vimmenu_T *pMenu)
@@ -1693,7 +1693,7 @@ gui_mac_doInContentClick(EventRecord *theEvent, WindowPtr whichWindow)
 
     if (theControl != NUL)
     {
-       /* We hit a scollbar */
+       /* We hit a scrollbar */
 
        if (thePortion != kControlIndicatorPart)
        {
@@ -2630,7 +2630,7 @@ gui_mac_handle_contextual_menu(event)
     {
        /* Handle the menu CntxMenuID, CntxMenuItem */
        /* The submenu can be handle directly by gui_mac_handle_menu */
-       /* But what about the current menu, is the meny changed by ContextualMenuSelect */
+       /* But what about the current menu, is the many changed by ContextualMenuSelect */
        gui_mac_handle_menu((CntxMenuID << 16) + CntxMenuItem);
     }
     else if (CntxMenuID == kCMShowHelpSelected)
@@ -5356,7 +5356,7 @@ gui_mch_browse(
     char_u *initdir,
     char_u *filter)
 {
-    /* TODO: Add Ammon's safety checl (Dany) */
+    /* TODO: Add Ammon's safety check (Dany) */
     NavReplyRecord     reply;
     char_u             *fname = NULL;
     char_u             **fnames = NULL;
@@ -5704,7 +5704,7 @@ gui_mch_dialog(
 
        /* Resize the button to fit its name */
        width = StringWidth(name) + 2 * dfltButtonEdge;
-       /* Limite the size of any button to an acceptable value. */
+       /* Limit the size of any button to an acceptable value. */
        /* TODO: Should be based on the message width */
        if (width > maxButtonWidth)
            width = maxButtonWidth;
@@ -5887,7 +5887,7 @@ gui_mch_dialog(
     /* Free the modal filterProc */
     DisposeRoutineDescriptor(dialogUPP);
 
-    /* Get ride of th edialog (free memory) */
+    /* Get ride of thdialog (free memory) */
     DisposeDialog(theDialog);
 
     return itemHit;
@@ -5967,9 +5967,9 @@ gui_mch_setmouse(int x, int y)
        /* New way */
 
        /*
-        * Get first devoice with one button.
-        * This will probably be the standad mouse
-        * startat head of cursor dev list
+        * Get first device with one button.
+        * This will probably be the standard mouse
+        * start at head of cursor dev list
         *
         */
 
@@ -6151,7 +6151,7 @@ GetFSSpecFromPath(char_u *file, FSSpec *fileFSSpec)
 }
 
 /*
- * Convert a FSSpec to a fuill path
+ * Convert a FSSpec to a full path
  */
 
 char_u *FullPathFromFSSpec_save(FSSpec file)
@@ -6215,8 +6215,8 @@ char_u *FullPathFromFSSpec_save(FSSpec file)
 
 #ifdef USE_UNIXFILENAME
     /*
-     * The function used here are available in Carbon, but
-     * do nothing une MacOS 8 and 9
+     * The functions used here are available in Carbon, but do nothing on
+     * MacOS 8 and 9.
      */
     if (error == fnfErr)
     {
@@ -6544,7 +6544,7 @@ static ControlRef dataBrowser = NULL;
 
 // when the tabline is hidden, vim doesn't call update_tabline(). When
 // the tabline is shown again, show_tabline() is called before update_tabline(),
-// and because of this, the tab labels and vims internal tabs are out of sync
+// and because of this, the tab labels and vim's internal tabs are out of sync
 // for a very short time. to prevent inconsistent state, we store the labels
 // of the tabs, not pointers to the tabs (which are invalid for a short time).
 static CFStringRef *tabLabels = NULL;
@@ -6578,7 +6578,7 @@ dbItemDataCallback(ControlRef browser,
 
     // assert(property == kTabsColumn); // why is this violated??
 
-    // changeValue is true if we have a modifieable list and data was changed.
+    // changeValue is true if we have a modifiable list and data was changed.
     // In our case, it's always false.
     // (that is: if (changeValue) updateInternalData(); else return
     // internalData();
index 7cac8ee6a231c2dfa5baa4862b89e3ec510b783c..5b6c7a76434ab678a3559c79463518011cae3443 100644 (file)
@@ -1344,7 +1344,7 @@ gui_mch_add_menu_item(menu, idx)
        else
        {
            /* Without shadows one can't sense whatever the button has been
-            * pressed or not! However we wan't to save a bit of space...
+            * pressed or not! However we want to save a bit of space...
             * Need the highlightThickness to see the focus.
             */
            XtSetArg(args[n], XmNhighlightThickness, 1); n++;
@@ -3205,7 +3205,7 @@ motif_get_toolbar_colors(bgp, fgp, bsp, tsp, hsp)
 # ifdef FEAT_FOOTER
 /*
  * The next toolbar enter/leave callbacks should really do balloon help.  But
- * I have to use footer help for backwards compatability.  Hopefully both will
+ * I have to use footer help for backwards compatibility.  Hopefully both will
  * get implemented and the user will have a choice.
  */
     static void
index 5db0484c9f793ad9b1a2adca218b9158ed1e90b1..aa99dd74afeb5c36677e9a8ecf9057dacac4fa80 100644 (file)
@@ -61,7 +61,7 @@ static PgColor_t gui_ph_mouse_color = Pg_BLACK;
 static PhPoint_t    gui_ph_raw_offset;
 static PtWidget_t   *gui_ph_timer_cursor;   /* handle cursor blinking */
 static PtWidget_t   *gui_ph_timer_timeout;  /* used in gui_mch_wait_for_chars */
-static short       is_timeout;             /* Has the timeout occured? */
+static short       is_timeout;             /* Has the timeout occurred? */
 
 /*
  * This is set inside the mouse callback for a right mouse
@@ -1156,7 +1156,7 @@ gui_mch_init(void)
     PtSetArg(&args[ n++ ], Pt_ARG_POS, &pos, 0);
 
 #ifdef USE_PANEL_GROUP
-    /* Put in a temprary place holder title */
+    /* Put in a temporary place holder title */
     PtSetArg(&args[ n++ ], Pt_ARG_PG_PANEL_TITLES, &empty_title, 1);
 
     gui.vimPanelGroup = PtCreateWidget(PtPanelGroup, gui.vimWindow, n, args);
@@ -1527,7 +1527,7 @@ gui_mch_dialog(
     /* There is one less separator than buttons, so bump up the button count */
     button_count = 1;
 
-    /* Count string length and number of seperators */
+    /* Count string length and number of separators */
     for (str = buttons; *str; str++)
     {
        len++;
index ffb6b89df0725ffef100fe3c44894ae4fcd2692a..b8d1e0e51308a5bd06895ff4126a41791b6b3c63 100644 (file)
@@ -511,7 +511,7 @@ gui_mch_set_shellsize(int width, int height,
     workarea_rect.right = GetSystemMetrics(SM_CXSCREEN);
     workarea_rect.bottom = GetSystemMetrics(SM_CYFULLSCREEN);
 
-    /* get current posision of our window */
+    /* get current position of our window */
     wndpl.length = sizeof(WINDOWPLACEMENT);
     GetWindowPlacement(s_hwnd, &wndpl);
     if (wndpl.showCmd == SW_SHOWNORMAL)
@@ -1161,7 +1161,7 @@ gui_mch_dialog(
        return -1;
 
     /*
-     * make a copy of 'buttons' to fiddle with it.  complier grizzles because
+     * make a copy of 'buttons' to fiddle with it.  compiler grizzles because
      * vim_strsave() doesn't take a const arg (why not?), so cast away the
      * const.
      */
index 4ff89a323ba0c3f7b8fbba2ee765e4ac01e228ad..c7a7b605cc8e26ddf6123c86a4d48fd198a40a52 100644 (file)
@@ -1258,7 +1258,7 @@ gui_mch_prepare(int *argc, char **argv)
 
 #ifdef FEAT_NETBEANS_INTG
     {
-       /* stolen from gui_x11.x */
+       /* stolen from gui_x11.c */
        int arg;
 
        for (arg = 1; arg < *argc; arg++)
@@ -1676,7 +1676,7 @@ gui_mch_set_shellsize(int width, int height,
      * used by the taskbar or appbars. */
     get_work_area(&workarea_rect);
 
-    /* Get current posision of our window.  Note that the .left and .top are
+    /* Get current position of our window.  Note that the .left and .top are
      * relative to the work area.  */
     wndpl.length = sizeof(WINDOWPLACEMENT);
     GetWindowPlacement(s_hwnd, &wndpl);
@@ -3100,7 +3100,7 @@ gui_mch_dialog(
        return -1;
 
     /*
-     * make a copy of 'buttons' to fiddle with it.  complier grizzles because
+     * make a copy of 'buttons' to fiddle with it.  compiler grizzles because
      * vim_strsave() doesn't take a const arg (why not?), so cast away the
      * const.
      */
@@ -4391,7 +4391,7 @@ gui_mch_register_sign(signfile)
     }
 
     sign.hImage = NULL;
-    ext = signfile + STRLEN(signfile) - 4; /* get extention */
+    ext = signfile + STRLEN(signfile) - 4; /* get extension */
     if (ext > signfile)
     {
        int do_load = 1;
index 083ac8004157dd001994b37d27ad065fbf0430b3..cfa09659d78b8cdc6c977ce3db99d1bf0cf1a67b 100644 (file)
@@ -1222,7 +1222,7 @@ gui_mch_set_text_area_pos(int x, int y, int w, int h)
 
     /* When side scroll bar is unshown, the size of window will change.
      * then, the text area move left or right. thus client rect should be
-     * forcely redraw. (Yasuhiro Matsumoto) */
+     * forcedly redrawn. (Yasuhiro Matsumoto) */
     if (oldx != x || oldy != y)
     {
        InvalidateRect(s_hwnd, NULL, FALSE);
index f7d59fcc51b2b57a795c837534b9146446382cb1..3760f7260bf8af687a63589dc0dea4a74b8ab8ef 100644 (file)
@@ -345,7 +345,7 @@ set_pixmap(XmEnhancedButtonWidget eb)
            &eb->primitive.top_shadow_color,
            &eb->primitive.highlight_color);
 
-    /* Setup color subsititution table. */
+    /* Setup color substitution table. */
     color[0].pixel = eb->core.background_pixel;
     color[1].pixel = eb->core.background_pixel;
     color[2].pixel = eb->core.background_pixel;
@@ -919,8 +919,8 @@ set_size(XmEnhancedButtonWidget newtb)
     }
 
     /*
-     * Plase note that we manipulate the width only in case of push buttons not
-     * used in the context of a menu pane.
+     * Please note that we manipulate the width only in case of push buttons
+     * not used in the context of a menu pane.
      */
     if (Lab_IsMenupane(newtb))
     {
@@ -1006,7 +1006,7 @@ Initialize(Widget rq, Widget ebw, ArgList args UNUSED, Cardinal *n UNUSED)
        XmString str;
        set_pixmap(eb);
 
-       /* FIXME: this is not the perfect way to deal with menues, which do not
+       /* FIXME: this is not the perfect way to deal with menus, which do not
         * have any string set right now.  */
        str = XmStringCreateLocalized("");
        XtVaSetValues((Widget) eb, XmNlabelString, str, NULL);
index 65e71b4871de7bc2195c444297e799c08b561a01..a3e3e3d6ecaac5bf1d17aa3d73527cf5d4555bb7 100644 (file)
@@ -26,7 +26,7 @@
 
 
 /*
- * EnahncedButton class structure.
+ * EnhancedButton class structure.
  */
 typedef struct _XmEnhancedButtonClassPart
 {
@@ -49,7 +49,7 @@ typedef struct
 extern XmEnhancedButtonClassRec xmEnhancedButtonClassRec;
 
 /*
- * EnahncedButton instance record.
+ * EnhancedButton instance record.
  */
 typedef struct _XmEnhancedButtonPart
 {
index f7733a10867a27f8315940cd06436d05962325a0..1df2fda72a583626e6f5be76713d6f7aef981dde 100644 (file)
@@ -2186,7 +2186,7 @@ prt_dsc_requirements(duplex, tumble, collate, color, num_copies)
     if (num_copies > 1)
     {
        prt_write_string(" numcopies(");
-       /* Note: no space wanted so dont use prt_write_int() */
+       /* Note: no space wanted so don't use prt_write_int() */
        sprintf((char *)prt_line_buffer, "%d", num_copies);
        prt_write_file(prt_line_buffer);
        prt_write_string(")");
index 929448bcf7b96b5411975b5202930bfa4863a1be..7a7a66f1c1a6d1e5aa519e568ac604df4995dddd 100644 (file)
@@ -1192,9 +1192,8 @@ cs_find_common(opt, pat, forceit, verbose, use_ll, cmdline)
     if (nummatches == NULL)
        return FALSE;
 
-    /* send query to all open connections, then count the total number
-     * of matches so we can alloc matchesp all in one swell foop
-     */
+    /* Send query to all open connections, then count the total number
+     * of matches so we can alloc all in one swell foop. */
     for (i = 0; i < csinfo_size; i++)
        nummatches[i] = 0;
     totmatches = 0;
index 238446409584d14d0200813a74672ebf98ea37c4..8dd2134313db175e03bb97ddac97bf394f572804 100644 (file)
@@ -3053,7 +3053,7 @@ mzscheme_to_vim_impl(Scheme_Object *obj, typval_T *tv, int depth,
                status = FAIL;
            else
            {
-               /* add the value in advance to allow handling of self-referencial
+               /* add the value in advance to allow handling of self-referential
                 * data structures */
                typval_T    *visited_tv = (typval_T *)alloc(sizeof(typval_T));
                copy_tv(tv, visited_tv);
@@ -3088,7 +3088,7 @@ mzscheme_to_vim_impl(Scheme_Object *obj, typval_T *tv, int depth,
                        if (status == FAIL)
                            break;
                    }
-                   /* impoper list not terminated with null
+                   /* improper list not terminated with null
                     * need to handle the last element */
                    if (status == OK && !SCHEME_NULLP(curr))
                    {
@@ -3136,7 +3136,7 @@ mzscheme_to_vim_impl(Scheme_Object *obj, typval_T *tv, int depth,
            {
                if (((Scheme_Hash_Table *) obj)->vals[i] != NULL)
                {
-                   /* generate item for `diplay'ed Scheme key */
+                   /* generate item for `display'ed Scheme key */
                    dictitem_T  *item = dictitem_alloc((char_u *)string_to_line(
                                ((Scheme_Hash_Table *) obj)->keys[i]));
                    /* convert Scheme val to Vim and add it to the dict */
index 4c01f51d8b655a34a2e117eb2c00baef5ddb7d9d..aabf6bb84b81d25c4fdc517eb63c32d6fcdd14cf 100644 (file)
@@ -645,7 +645,7 @@ static void GUIDtochar(const GUID &guid, char *GUID, int length)
     CoTaskMemFree(wGUID);
 }
 
-// Delete a key and all of its descendents
+// Delete a key and all of its descendants
 static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
 {
     // Open the child
@@ -655,7 +655,7 @@ static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
     if (result != ERROR_SUCCESS)
        return;
 
-    // Enumerate all of the decendents of this child
+    // Enumerate all of the descendants of this child
     FILETIME time;
     char buffer[1024];
     DWORD size = 1024;
@@ -663,7 +663,7 @@ static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
     while (RegEnumKeyEx(hKeyChild, 0, buffer, &size, NULL,
                        NULL, NULL, &time) == S_OK)
     {
-       // Delete the decendents of this child
+       // Delete the descendants of this child
        RecursiveDeleteKey(hKeyChild, buffer);
        size = 256;
     }
index f9343293036eb0aa0cc7a5ce850acd986cba6a1e..9ac9907dd27a11c1f312f4d1866a515b5c5f90e1 100644 (file)
@@ -657,7 +657,7 @@ newBUFrv(rv, ptr)
 
 /*
  * perl_win_free
- *     Remove all refences to the window to be destroyed
+ *     Remove all references to the window to be destroyed
  */
     void
 perl_win_free(wp)
index ff4ba0e5461f3e69054e890b14543329ef7a9c5e..0f9f3538ab2bc874d5f94b824dd0eecc691b7d52 100644 (file)
@@ -2160,7 +2160,7 @@ py_fix_cursor(linenr_T lo, linenr_T hi, linenr_T extra)
     static int
 SetBufferLine(buf_T *buf, PyInt n, PyObject *line, PyInt *len_change)
 {
-    /* First of all, we check the thpe of the supplied Python object.
+    /* First of all, we check the type of the supplied Python object.
      * There are three cases:
      *   1. NULL, or None - this is a deletion.
      *   2. A string      - this is a replacement.
@@ -2251,7 +2251,7 @@ SetBufferLine(buf_T *buf, PyInt n, PyObject *line, PyInt *len_change)
     static int
 SetBufferLineList(buf_T *buf, PyInt lo, PyInt hi, PyObject *list, PyInt *len_change)
 {
-    /* First of all, we check the thpe of the supplied Python object.
+    /* First of all, we check the type of the supplied Python object.
      * There are three cases:
      *   1. NULL, or None - this is a deletion.
      *   2. A list        - this is a replacement.
@@ -2428,7 +2428,7 @@ SetBufferLineList(buf_T *buf, PyInt lo, PyInt hi, PyObject *list, PyInt *len_cha
     }
 }
 
-/* Insert a number of lines into the specified buffer after the specifed line.
+/* Insert a number of lines into the specified buffer after the specified line.
  * The line number is in Vim format (1-based). The lines to be inserted are
  * given as a Python list of string objects or as a single string. The lines
  * to be added are checked for validity and correct format. Errors are
@@ -2819,7 +2819,7 @@ BufferMark(PyObject *self, PyObject *args)
        return NULL;
     }
 
-    /* Ckeck for keyboard interrupt */
+    /* Check for keyboard interrupt */
     if (VimErrorCheck())
        return NULL;
 
index fb2d8986b7997a9b4a10e7333bd9c62e9f930029..4eb9a4d96b274059a8362f4c8fdaab26f648e290 100644 (file)
@@ -773,7 +773,7 @@ Python_Init(void)
 
        /* Remove the element from sys.path that was added because of our
         * argv[0] value in PythonMod_Init().  Previously we used an empty
-        * string, but dependinding on the OS we then get an empty entry or
+        * string, but depending on the OS we then get an empty entry or
         * the current directory in sys.path. */
        PyRun_SimpleString("import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)");
 
index 35fcffac28ff57fffcdc469d37c26fd0e0e37094..7bfc13be0b051414ed21b69b5796eb9c9a8977f7 100644 (file)
@@ -766,7 +766,7 @@ Python3_Init(void)
 
        /* Remove the element from sys.path that was added because of our
         * argv[0] value in Py3Init_vim().  Previously we used an empty
-        * string, but dependinding on the OS we then get an empty entry or
+        * string, but depending on the OS we then get an empty entry or
         * the current directory in sys.path.
         * Only after vim has been imported, the element does exist in
         * sys.path.
index 5142958503e9e7ab728286e83a610d2b2f54e5d6..d79d0eeb7ba78e648b394b7f96c9883e4f5223de 100644 (file)
 #endif
 
 /*
- * Backward compatiblity for Ruby 1.8 and earlier.
+ * Backward compatibility for Ruby 1.8 and earlier.
  * Ruby 1.9 does not provide STR2CSTR, instead StringValuePtr is provided.
  * Ruby 1.9 does not provide RXXX(s)->len and RXXX(s)->ptr, instead
  * RXXX_LEN(s) and RXXX_PTR(s) are provided.
@@ -1333,7 +1333,7 @@ static void ruby_vim_init(void)
     rb_global_variable(&objtbl);
 
     /* The Vim module used to be called "VIM", but "Vim" is better.  Make an
-     * alias "VIM" for backwards compatiblity. */
+     * alias "VIM" for backwards compatibility. */
     mVIM = rb_define_module("Vim");
     rb_define_const(rb_cObject, "VIM", mVIM);
     rb_define_const(mVIM, "VERSION_MAJOR", INT2NUM(VIM_VERSION_MAJOR));
index 340db63b798ae518da15a7df352383b0d2f8c167..3c91d39fbeeef7d4adec66d43084ccd2d7d0c1b3 100644 (file)
@@ -1213,9 +1213,9 @@ bundle-rsrc {virtual}: os_mac.rsr.hqx
     :move gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
 
 # po/Make_osx.pl says something about generating a Mac message file
-# for Ukrananian.  Would somebody using Mac OS X in Ukranian
+# for Ukrainian.  Would somebody using Mac OS X in Ukrainian
 # *really* be upset that Carbon Vim was not localised in
-# Ukranian?
+# Ukrainian?
 #
 #bundle-language: bundle-dir po/Make_osx.pl
 #      cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
index ed12e7603d8c2c1dfe4f8606cd373caafd401d1a..2059da4604bbd95726625103609a6d7cff6cc6ed 100644 (file)
@@ -903,7 +903,7 @@ dbcs_class(lead, trail)
 {
     switch (enc_dbcs)
     {
-       /* please add classfy routine for your language in here */
+       /* please add classify routine for your language in here */
 
        case DBCS_JPNU: /* ? */
        case DBCS_JPN:
@@ -1003,7 +1003,7 @@ dbcs_class(lead, trail)
                 * 26 : Box Drawings
                 * 27 : Unit Symbols
                 * 28 : Circled/Parenthesized Letter
-                * 29 : Hirigana/Katakana
+                * 29 : Hiragana/Katakana
                 * 30 : Cyrillic Letter
                 */
 
@@ -1054,7 +1054,7 @@ dbcs_class(lead, trail)
                            return 28;
                    case 0xAA:
                    case 0xAB:
-                       /* Hirigana/Katakana */
+                       /* Hiragana/Katakana */
                        return 29;
                    case 0xAC:
                        /* Cyrillic Letter */
@@ -4599,7 +4599,7 @@ im_commit_cb(GtkIMContext *context UNUSED,
     }
 
     /* The thing which setting "preedit_start_col" to MAXCOL means that
-     * "preedit_start_col" will be set forcely when calling
+     * "preedit_start_col" will be set forcedly when calling
      * preedit_changed_cb() next time.
      * "preedit_start_col" should not reset with MAXCOL on this part. Vim
      * is simulating the preediting by using add_to_input_str(). when
index c87b9811355d136ce5b0afed1b44d36cbc980d6a..58f4485762ba1e42ad4d2489a44c8b42ee2f1fe2 100644 (file)
@@ -628,7 +628,7 @@ mf_sync(mfp, flags)
         * sync from the system itself).
         */
 #  if defined(__EMX__)
-   error "Dont use fsync with EMX! Read emxdoc.doc or emxfix01.doc for info."
+   error "Don't use fsync with EMX! Read emxdoc.doc or emxfix01.doc for info."
 #  endif
        if (STRCMP(p_sws, "fsync") == 0)
        {
@@ -1075,7 +1075,7 @@ mf_write(mfp, hp)
        if (nr > mfp->mf_infile_count)          /* beyond end of file */
        {
            nr = mfp->mf_infile_count;
-           hp2 = mf_find_hash(mfp, nr);        /* NULL catched below */
+           hp2 = mf_find_hash(mfp, nr);        /* NULL caught below */
        }
        else
            hp2 = hp;
@@ -1184,7 +1184,7 @@ mf_trans_add(mfp, hp)
     {
        new_bnum = freep->bh_bnum;
        /*
-        * If the page count of the free block was larger, recude it.
+        * If the page count of the free block was larger, reduce it.
         * If the page count matches, remove the block from the free list
         */
        if (freep->bh_page_count > page_count)
@@ -1309,7 +1309,7 @@ mf_do_open(mfp, fname, flags)
     mf_set_ffname(mfp);
 #if defined(MSDOS) || defined(MSWIN)
     /*
-     * A ":!cd e:xxx" may change the directory without us knowning, use the
+     * A ":!cd e:xxx" may change the directory without us knowing, use the
      * full pathname always.  Careful: This frees fname!
      */
     mf_fullname(mfp);
index fecd876373e544706a1ea41e562c71b63d8889a8..836ee047199727c9467d53544c1e416d37f98f28 100644 (file)
@@ -3141,7 +3141,7 @@ ml_delete_int(buf, lnum, message)
           )
            set_keep_msg((char_u *)_(no_lines_msg), 0);
 
-       /* FEAT_BYTEOFF already handled in there, dont worry 'bout it below */
+       /* FEAT_BYTEOFF already handled in there, don't worry 'bout it below */
        i = ml_replace((linenr_T)1, (char_u *)"", TRUE);
        buf->b_ml.ml_flags |= ML_EMPTY;
 
index 913d5aba7ef16b1972dbef996d9c39513b063542..655734538e8ae33807a9f2c8b50cbb2171224904 100644 (file)
@@ -1654,7 +1654,7 @@ get_leader_len(line, flags, backward, include_space)
            if (vim_iswhite(string[0]))
            {
                if (i == 0 || !vim_iswhite(line[i - 1]))
-                   continue;  /* missing shite space */
+                   continue;  /* missing white space */
                while (vim_iswhite(string[0]))
                    ++string;
            }
index 550ab4d35ecdd54ad75c720c186e1399094640d2..4d350c4fa4c3dbd35320cd495de4da08fa569e5e 100644 (file)
@@ -2907,7 +2907,7 @@ extract_modifiers(key, modp)
     int        modifiers = *modp;
 
 #ifdef MACOS
-    /* Command-key really special, No fancynest */
+    /* Command-key really special, no fancynest */
     if (!(modifiers & MOD_MASK_CMD))
 #endif
     if ((modifiers & MOD_MASK_SHIFT) && ASCII_ISALPHA(key))
@@ -2934,7 +2934,7 @@ extract_modifiers(key, modp)
            key = K_ZERO;
     }
 #ifdef MACOS
-    /* Command-key really special, No fancynest */
+    /* Command-key really special, no fancynest */
     if (!(modifiers & MOD_MASK_CMD))
 #endif
     if ((modifiers & MOD_MASK_ALT) && key < 0x80
index 20125ca515d0ea95ea441f5ce05c0e06bb31db4a..1b61c5896ada0c4d1358d4813412830379668c86 100644 (file)
@@ -17,7 +17,7 @@
  * debugging startup problems because gvim will be started automatically from
  * netbeans and cannot be run directly from a debugger. The only way to debug
  * a gvim started by netbeans is by attaching a debugger to it. Without this
- * tool all starup code will have completed before you can get the pid and
+ * tool all startup code will have completed before you can get the pid and
  * attach.
  *
  * The second tool is a log tool.
index 879d5c358857c872730512176e3ed1e75ece89e6..339b7205f75eb3000a10b3a88f2d1a4839d99d01 100644 (file)
@@ -2513,7 +2513,7 @@ do_mouse(oap, c, dir, count, fixindent)
 
 #ifndef FEAT_VISUAL
     /*
-     * ALT is only used for starging/extending Visual mode.
+     * ALT is only used for starting/extending Visual mode.
      */
     if ((mod_mask & MOD_MASK_ALT))
        return FALSE;
@@ -5084,7 +5084,7 @@ dozet:
                }
                break;
 
-               /* "zE": erease all folds */
+               /* "zE": erase all folds */
     case 'E':  if (foldmethodIsManual(curwin))
                {
                    clearFolding(curwin);
@@ -7465,7 +7465,7 @@ v_visop(cap)
     static char_u trans[] = "YyDdCcxdXdAAIIrr";
 
     /* Uppercase means linewise, except in block mode, then "D" deletes till
-     * the end of the line, and "C" replaces til EOL */
+     * the end of the line, and "C" replaces till EOL */
     if (isupper(cap->cmdchar))
     {
        if (VIsual_mode != Ctrl_V)
@@ -8804,7 +8804,7 @@ nv_wordcmd(cap)
                 * at first, but it's really more what we mean when we say
                 * 'cw'.
                 * Another strangeness: When standing on the end of a word
-                * "ce" will change until the end of the next wordt, but "cw"
+                * "ce" will change until the end of the next word, but "cw"
                 * will change only one character! This is done by setting
                 * flag.
                 */
@@ -9150,7 +9150,7 @@ nv_edit(cap)
                {
                    int save_State = State;
 
-                   /* Pretent Insert mode here to allow the cursor on the
+                   /* Pretend Insert mode here to allow the cursor on the
                     * character past the end of the line */
                    State = INSERT;
                    coladvance((colnr_T)MAXCOL);
@@ -9189,7 +9189,7 @@ nv_edit(cap)
        {
            int save_State = State;
 
-           /* Pretent Insert mode here to allow the cursor on the
+           /* Pretend Insert mode here to allow the cursor on the
             * character past the end of the line */
            State = INSERT;
            coladvance(getviscol());
index 2ab90444346d17ff77f690e56dc9fc0fff80cbc4..57c4b0adb22f255014c7afc1419016fb2d029160 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -398,7 +398,7 @@ shift_block(oap, amount)
 #ifdef FEAT_RIGHTLEFT
     int                        old_p_ri = p_ri;
 
-    p_ri = 0;                  /* don't want revins in ident */
+    p_ri = 0;                  /* don't want revins in indent */
 #endif
 
     State = INSERT;            /* don't want REPLACE for State */
index 0b63ea15223e783a4c0d971af6fb6a36cf643e17..e5c7661efd8898ad1d01cddb624982f7cf32f1a5 100644 (file)
@@ -118,7 +118,7 @@ mch_write(p, len)
 }
 
 /*
- * mch_inchar(): low level input funcion.
+ * mch_inchar(): low level input function.
  * Get a characters from the keyboard.
  * If time == 0 do not wait for characters.
  * If time == n wait a short time for characters.
index cf575dd172e3739f1a9150621c4d1ab334133d13..78b79c2e16ea0e3f878a3b60f6f59b9891a791c9 100644 (file)
@@ -45,7 +45,7 @@
 /* Get stat.h or something similar. Comment: How come some OS get in in vim.h */
 # include <sys/stat.h>
 /* && defined(HAVE_CURSE) */
-/* The curses.h from MacOS X provides by default some BACKWARD compatibilty
+/* The curses.h from MacOS X provides by default some BACKWARD compatibility
  * definition which can cause us problem later on. So we undefine a few of them. */
 # include <curses.h>
 # undef reg
index 209bdd630cca20efc389ca2a628af56f478907ed..8cc0ecc335b7e941e8baee657f43aca1b59d6629 100644 (file)
@@ -702,7 +702,7 @@ vim_kbhit(void)
  * If Vim should work over the serial line after a 'ctty com1' we must use
  * kbhit() and getch(). (jw)
  * Usually kbhit() is not used, because then CTRL-C and CTRL-P
- * will be catched by DOS (mool).
+ * will be caught by DOS (mool).
  *
  * return TRUE if a character is available, FALSE otherwise
  */
@@ -971,7 +971,7 @@ got3:                           s += 3;
 }
 
 /*
- * mch_inchar(): low level input funcion.
+ * mch_inchar(): low level input function.
  * Get a characters from the keyboard.
  * If time == 0 do not wait for characters.
  * If time == n wait a short time for characters.
@@ -993,7 +993,7 @@ mch_inchar(
 
     /*
      * if we got a ctrl-C when we were busy, there will be a "^C" somewhere
-     * on the sceen, so we need to redisplay it.
+     * on the screen, so we need to redisplay it.
      */
     if (delayed_redraw)
     {
@@ -1745,7 +1745,7 @@ mch_settmode(int tmode)
 mch_setmouse(int on)
 {
     mouse_active = on;
-    mouse_hidden = TRUE;       /* dont show it until moved */
+    mouse_hidden = TRUE;       /* don't show it until moved */
 }
 #endif
 
@@ -2438,7 +2438,7 @@ Win16OpenClipboard(void)
     long    start_time;
     int            tick_count;
 
-    /* int 02xf, AX = 0x1701 attempts to open the Windows clipboard.  Upon
+    /* int 0x2f, AX = 0x1701 attempts to open the Windows clipboard.  Upon
      * return from the interrupt, if AX is non-zero, the clipboard was
      * successfully opened.  If AX is zero, the clipboard could not be opened
      * because it is currently in use by another process.
@@ -2533,7 +2533,7 @@ Win16EmptyClipboard(void)
 {
     __dpmi_regs  dpmi_regs;
 
-    /* int 02xf, AX = 0x1702 attempts to empty the Windows clipboard.  Upon
+    /* int 0x2f, AX = 0x1702 attempts to empty the Windows clipboard.  Upon
      * return from the interrupt, if AX == 0, the clipboard could not be
      * emptied (for some reason).
      */
@@ -2616,7 +2616,7 @@ Win16GetClipboardData(int clip_data_format)
     case CF_TEXT:                  /* Windows text */
     case CF_OEMTEXT:               /* DOS (OEM) text */
 
-       /* int 02xf, AX = 0x1704 returns the number of bytes of data currently
+       /* int 0x2f, AX = 0x1704 returns the number of bytes of data currently
         * on the Windows clipboard, for the specified format.  Upon return
         * from the interrupt, DX:AX = the number of bytes, rounded up to the
         * nearest multiple of 32.
@@ -2820,7 +2820,7 @@ Win16SetClipboardData(
        clip_data_size);                /* how many bytes to copy */
 
     /* Send data from the DOS transfer buffer to the Windows clipboard.
-     * int 02xf, AX = 0x1703 sends SI:CX bytes of data from the buffer
+     * int 0x2f, AX = 0x1703 sends SI:CX bytes of data from the buffer
      * at ES:BX, to the clipboard.
      */
     dpmi_regs.x.ax = 0x1703;                   /* send clipboard data */
index e8000aa6b6fa549f4bfa6ac2ea74fa3f1dcbb18b..3b2ebe453e9bd6130418f65eb7d10719976f21c3 100644 (file)
@@ -1794,7 +1794,7 @@ win32_set_foreground()
  *
  * So we create a hidden window, and arrange to destroy it on exit.
  */
-HWND message_window = 0;           /* window that's handling messsages */
+HWND message_window = 0;           /* window that's handling messages */
 
 #define VIM_CLASSNAME      "VIM_MESSAGES"
 #define VIM_CLASSNAME_LEN  (sizeof(VIM_CLASSNAME) - 1)
@@ -1857,7 +1857,7 @@ CleanUpMessaging(void)
 
 static int save_reply(HWND server, char_u *reply, int expr);
 
-/*s
+/*
  * The window procedure for the hidden message window.
  * It handles callback messages and notifications from servers.
  * In order to process these messages, it is necessary to run a
@@ -2603,7 +2603,7 @@ init_logfont(LOGFONT *lf)
 
     ReleaseDC(hwnd, hdc);
 
-    /* If we couldn't find a useable font, return failure */
+    /* If we couldn't find a usable font, return failure */
     if (n == 1)
        return FAIL;
 
index 98f0ece5fef8e3a362178c1e1a0cb589591e3b9d..c5a89c8041d794a71a61e2884ce777c81966a3e0 100644 (file)
@@ -50,7 +50,7 @@
 #endif
 
 /* toupper() is not really broken, but it's very slow. Probably because of
- * using unicde characters on Windows NT */
+ * using unicode characters on Windows NT */
 #define BROKEN_TOUPPER
 
 #define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
index d16cab351722b9086283f5d2265ce55b934fff04..a975df5d2ff3879c873bcba8ba27f7aee8ccac26 100644 (file)
@@ -161,7 +161,7 @@ static PFNGCKLN    s_pfnGetConsoleKeyboardLayoutName = NULL;
 
 #ifndef PROTO
 
-/* Enable common dialogs input unicode from IME if posible. */
+/* Enable common dialogs input unicode from IME if possible. */
 #ifdef FEAT_MBYTE
 LRESULT (WINAPI *pDispatchMessage)(CONST MSG *) = DispatchMessage;
 BOOL (WINAPI *pGetMessage)(LPMSG, HWND, UINT, UINT) = GetMessage;
@@ -1032,7 +1032,7 @@ decode_mouse_event(
            DWORD dwLR = (pmer->dwButtonState & LEFT_RIGHT);
 
            /* if either left or right button only is pressed, see if the
-            * the next mouse event has both of them pressed */
+            * next mouse event has both of them pressed */
            if (dwLR == LEFT || dwLR == RIGHT)
            {
                for (;;)
index f672ea803457a333fe5f0dfa8bdb089a384109a8..6869747aaea63c81ca8f40f2623b81f1d88a41e8 100644 (file)
@@ -201,7 +201,7 @@ Trace(char *pszFormat, ...);
 
 #ifndef PROTO
 
-/* Enable common dialogs input unicode from IME if posible. */
+/* Enable common dialogs input unicode from IME if possible. */
 #ifdef FEAT_MBYTE
     /* The variables are defined in os_win32.c. */
 extern LRESULT (WINAPI *pDispatchMessage)(CONST MSG *);
index 0de6fe0b1948fcc234f5d4d2adea7d5be568e3af..86ec338f65d6bf0d1694a1de6b17a826a142e646 100644 (file)
@@ -3235,7 +3235,7 @@ ex_vimgrep(eap)
     mch_dirname(dirname_start, MAXPATHL);
 
 #ifdef FEAT_AUTOCMD
-     /* Remeber the value of qf_start, so that we can check for autocommands
+     /* Remember the value of qf_start, so that we can check for autocommands
       * changing the current quickfix list. */
     cur_qf_start = qi->qf_lists[qi->qf_curlist].qf_start;
 #endif
index 055a46d9507bbb3952f6dcfdeb3824fc75af3f6d..cc8afa6d215ad201eb018ae8ae08743df6471dc4 100644 (file)
@@ -4044,7 +4044,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
 
                /* If a double-width char doesn't fit at the left side display
                 * a '<' in the first column.  Don't do this for unprintable
-                * charactes. */
+                * characters. */
                if (n_skip > 0 && mb_l > 1 && n_extra == 0)
                {
                    n_extra = 1;
index f9a5b84c030820b32cd2510c5841b2cbeb3796cb..0e4f4246f199878c611b436a4ba9ef90ece2a6fa 100644 (file)
@@ -73,7 +73,7 @@ struct spat
 {
     char_u         *pat;       /* the pattern (in allocated memory) or NULL */
     int                    magic;      /* magicness of the pattern */
-    int                    no_scs;     /* no smarcase for this pattern */
+    int                    no_scs;     /* no smartcase for this pattern */
     struct soffset  off;
 };
 
@@ -3546,7 +3546,7 @@ extend:
 
 /*
  * Find block under the cursor, cursor at end.
- * "what" and "other" are two matching parenthesis/paren/etc.
+ * "what" and "other" are two matching parenthesis/brace/etc.
  */
     int
 current_block(oap, count, include, what, other)
index ea47b1b2f88ad4d0c24fa539811205673d16a886..29356bf9e98d37dd87861b33f91025144ce63b80 100644 (file)
@@ -4228,7 +4228,7 @@ did_set_spelllang(wp)
     ga_init2(&ga, sizeof(langp_T), 2);
     clear_midword(wp);
 
-    /* Make a copy of 'spellang', the SpellFileMissing autocommands may change
+    /* Make a copy of 'spelllang', the SpellFileMissing autocommands may change
      * it under our fingers. */
     spl_copy = vim_strsave(wp->w_s->b_p_spl);
     if (spl_copy == NULL)
@@ -7645,7 +7645,7 @@ tree_add_word(spin, word, root, flags, region, affixID)
 
        /* Compress both trees.  Either they both have many nodes, which makes
         * compression useful, or one of them is small, which means
-        * compression goes fast.  But when filling the souldfold word tree
+        * compression goes fast.  But when filling the soundfold word tree
         * there is no keep-case tree. */
        wordtree_compress(spin, spin->si_foldroot);
        if (affixID >= 0)
@@ -8671,7 +8671,7 @@ sug_filltree(spin, slang)
     unsigned   words_done = 0;
     int                wordcount[MAXWLEN];
 
-    /* We use si_foldroot for the souldfolded trie. */
+    /* We use si_foldroot for the soundfolded trie. */
     spin->si_foldroot = wordtree_alloc(spin);
     if (spin->si_foldroot == NULL)
        return FAIL;
@@ -13019,7 +13019,7 @@ score_comp_sal(su)
 
 /*
  * Combine the list of suggestions in su->su_ga and su->su_sga.
- * They are intwined.
+ * They are entwined.
  */
     static void
 score_combine(su)
@@ -13457,7 +13457,7 @@ badword:
 
                /* Add a small penalty for changing the first letter from
                 * lower to upper case.  Helps for "tath" -> "Kath", which is
-                * less common thatn "tath" -> "path".  Don't do it when the
+                * less common than "tath" -> "path".  Don't do it when the
                 * letter is the same, that has already been counted. */
                gc = PTR2CHAR(p);
                if (SPELL_ISUPPER(gc))
index 630512956e1c790943880bf7d1a74f5cb4527a5f..5db772097a373746fd7f386986ca8e63c8f312f6 100644 (file)
@@ -1215,7 +1215,7 @@ typedef struct {
 #ifdef FEAT_SYN_HL
     hashtab_T  b_keywtab;              /* syntax keywords hash table */
     hashtab_T  b_keywtab_ic;           /* idem, ignore case */
-    int                b_syn_error;            /* TRUE when error occured in HL */
+    int                b_syn_error;            /* TRUE when error occurred in HL */
     int                b_syn_ic;               /* ignore case for :syn cmds */
     int                b_syn_spell;            /* SYNSPL_ values */
     garray_T   b_syn_patterns;         /* table for syntax patterns */
index 4c697698c9a0d84599f45d57b8ce187a0aceea5f..ed689601d034213415b47ccafe8a0bfb98a66517 100644 (file)
@@ -6069,7 +6069,7 @@ in_id_list(cur_si, list, ssp, contained)
     static int depth = 0;
     int                r;
 
-    /* If spp has a "containedin" list and "cur_si" is in it, return TRUE. */
+    /* If ssp has a "containedin" list and "cur_si" is in it, return TRUE. */
     if (cur_si != NULL && ssp->cont_in_list != NULL
                                            && !(cur_si->si_flags & HL_MATCH))
     {
index fc44086b50f146493934ed989f6bf6848394243f..fea150e53ffa717a7cdc75202c0f68b5696c21c2 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    925,
 /**/
     924,
 /**/
index 2b059bcf20f58018d3f5b6f25edd8fb89552b5ca..7fd434e69d6e54db03cbce6495b9317a547d8088 100644 (file)
@@ -3687,7 +3687,7 @@ tabpage_index(ftp)
 
 /*
  * Prepare for leaving the current tab page.
- * When autocomands change "curtab" we don't leave the tab page and return
+ * When autocommands change "curtab" we don't leave the tab page and return
  * FAIL.
  * Careful: When OK is returned need to get a new tab page very very soon!
  */
index 0e6854be6a4a0c6f3a6da20ea99a74f2bef71057..71fdba427a647bd11542f297f418a6bf96659796 100755 (executable)
@@ -30,7 +30,7 @@ $ !   Check for the existence of VIM, and die if it isn't there.
 $ !
 $      if f$search ("vim:vim.exe") .eqs. ""
 $      then
-$          write sys$error "Error - Can't run tutoral. VIM not found."
+$          write sys$error "Error - Can't run tutorial. VIM not found."
 $          exit
 $      endif
 $ !