1
0
forked from aniani/vim

updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 19:19:59 +00:00
parent 5f52cff1b3
commit 49325942f5
25 changed files with 249 additions and 78 deletions

View File

@@ -1,4 +1,4 @@
README_amisrc.txt for version 7.1a of Vim: Vi IMproved. README_amisrc.txt for version 7.1b of Vim: Vi IMproved.
See "README.txt" for general information about Vim. See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga. See "README_ami.txt" for installation instructions for the Amiga.

View File

@@ -1,4 +1,4 @@
README_vms.txt for version 7.1a of Vim: Vi IMproved. README_vms.txt for version 7.1b of Vim: Vi IMproved.
This file explains the installation of Vim on VMS systems. This file explains the installation of Vim on VMS systems.
See "README.txt" in the runtime archive for information about Vim. See "README.txt" in the runtime archive for information about Vim.

View File

@@ -1,4 +1,4 @@
README_w32s.txt for version 7.1a of Vim: Vi IMproved. README_w32s.txt for version 7.1b of Vim: Vi IMproved.
This archive contains the gvim.exe that was specifically compiled for use in This archive contains the gvim.exe that was specifically compiled for use in
the Win32s subsystem in MS-Windows 3.1 and 3.11. the Win32s subsystem in MS-Windows 3.1 and 3.11.

View File

@@ -1,6 +1,6 @@
" Vim script to download a missing spell file " Vim script to download a missing spell file
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2007 May 06 " Last Change: 2007 May 08
if !exists('g:spellfile_URL') if !exists('g:spellfile_URL')
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
@@ -145,6 +145,12 @@ endfunc
" Read "fname" from the server. " Read "fname" from the server.
function! spellfile#Nread(fname) function! spellfile#Nread(fname)
" We do our own error handling, don't want a window for it.
if exists("g:netrw_use_errorwindow")
let save_ew = g:netrw_use_errorwindow
endif
let g:netrw_use_errorwindow=0
if g:spellfile_URL =~ '^ftp://' if g:spellfile_URL =~ '^ftp://'
" for an ftp server use a default login and password to avoid a prompt " for an ftp server use a default login and password to avoid a prompt
let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '') let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '')
@@ -153,4 +159,10 @@ function! spellfile#Nread(fname)
else else
exe 'Nread ' g:spellfile_URL . '/' . a:fname exe 'Nread ' g:spellfile_URL . '/' . a:fname
endif endif
if exists("save_ew")
let g:netrw_use_errorwindow = save_ew
else
unlet g:netrw_use_errorwindow
endif
endfunc endfunc

View File

@@ -1,4 +1,4 @@
*farsi.txt* For Vim version 7.1a. Last change: 2005 Mar 29 *farsi.txt* For Vim version 7.1b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran VIM REFERENCE MANUAL by Mortaza Ghassab Shiran

View File

@@ -1,4 +1,4 @@
*filetype.txt* For Vim version 7.1a. Last change: 2007 Mar 24 *filetype.txt* For Vim version 7.1b. Last change: 2007 May 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -423,7 +423,8 @@ Global mappings:
same as the local <Leader>o described above. same as the local <Leader>o described above.
Variables: Variables:
g:changelog_timeformat The date (and time) format used in ChangeLog entries. g:changelog_timeformat Deprecated; use g:changelog_dateformat instead.
g:changelog_dateformat The date (and time) format used in ChangeLog entries.
The format accepted is the same as for the The format accepted is the same as for the
|strftime()| function. |strftime()| function.
The default is "%Y-%m-%d" which is the standard format The default is "%Y-%m-%d" which is the standard format
@@ -473,6 +474,14 @@ g:changelog_date_entry_search
|2003-01-14 Full Name <user@host> |2003-01-14 Full Name <user@host>
< and some similar formats. < and some similar formats.
g:changelog_date_end_entry_search
The search pattern to use when searching for the end
of a date-entry.
The same tokens that can be used for
g:changelog_new_date_format can be used here as well.
The default is '^\s*$' which finds lines that contain
only whitespace or are completely empty.
The Changelog entries are inserted where they add the least amount of text. The Changelog entries are inserted where they add the least amount of text.
After figuring out the current date and user, the file is searched for an After figuring out the current date and user, the file is searched for an
entry beginning with the current date and user and if found adds another item entry beginning with the current date and user and if found adds another item

View File

@@ -1,4 +1,4 @@
*os_dos.txt* For Vim version 7.1a. Last change: 2006 Mar 30 *os_dos.txt* For Vim version 7.1b. Last change: 2006 Mar 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*os_win32.txt* For Vim version 7.1a. Last change: 2007 Apr 22 *os_win32.txt* For Vim version 7.1b. Last change: 2007 Apr 22
VIM REFERENCE MANUAL by George Reilly VIM REFERENCE MANUAL by George Reilly

View File

@@ -1,4 +1,4 @@
*pi_spec.txt* For Vim version 7.1a. Last change: 2006 Apr 24 *pi_spec.txt* For Vim version 7.1b. Last change: 2006 Apr 24
by Gustavo Niemeyer ~ by Gustavo Niemeyer ~

View File

@@ -1,4 +1,4 @@
*scroll.txt* For Vim version 7.1a. Last change: 2006 Aug 27 *scroll.txt* For Vim version 7.1b. Last change: 2006 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.1a. Last change: 2007 May 05 *todo.txt* For Vim version 7.1b. Last change: 2007 May 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,6 +35,9 @@ Patch to make virtcol([123, '$']) do the right thing. (Michael Schaap)
Insert mode completion: CTRL-N and CTRL-P work differently and they both don't Insert mode completion: CTRL-N and CTRL-P work differently and they both don't
work as expected. (Bernhard Walle, 2007 Feb 27) work as expected. (Bernhard Walle, 2007 Feb 27)
When 'rightleft' is set the completion menu is positioned wrong. (Baha-Eddine
MOKADEM)
glob() doesn't work correctly with single quotes and 'shell' set to /bin/sh. glob() doesn't work correctly with single quotes and 'shell' set to /bin/sh.
(Adri Verhoef, Charles Campbell 2007 Mar 26) (Adri Verhoef, Charles Campbell 2007 Mar 26)
@@ -94,6 +97,10 @@ See remarks from Adri, 2007 Feb 9.
When opening quickfix window, disable spell checking? When opening quickfix window, disable spell checking?
Windows 98: pasting from the clipboard with text from another application has
a trailing NUL. (Joachim Hofmann) Perhaps the length specified for CF_TEXT
isn't right?
Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for characters Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for characters
with umlaut. (Joachim Hofmann) toupper_tab[] and tolower_tab[] are not filled with umlaut. (Joachim Hofmann) toupper_tab[] and tolower_tab[] are not filled
properly? properly?
@@ -201,6 +208,8 @@ C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
":lockvar" should use copyID to avoid endless loop. ":lockvar" should use copyID to avoid endless loop.
Patch to use xterm mouse codes for screen. (Micah Cowan, 2007 May 8)
Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then
use a different dialog: "busy saving, really quit? yes / no". use a different dialog: "busy saving, really quit? yes / no".
@@ -365,9 +374,6 @@ GDK_WINDOW_STATE_MAXIMIZED) and set it again?
Another resizing problem when setting 'columns' and 'lines' to a very large Another resizing problem when setting 'columns' and 'lines' to a very large
number. (Tony Mechelynck, 2007 Feb 6) number. (Tony Mechelynck, 2007 Feb 6)
Mutt files are not always recognized. Change pattern to include
non-alphanumeric characters. (Gary Johnson, 2006 Jul 25)
Problem with using :redir in user command completion function? (Hari Krishna Problem with using :redir in user command completion function? (Hari Krishna
Dara, 2006 June 21) Dara, 2006 June 21)
@@ -1581,7 +1587,7 @@ Tab pages:
8 :tabmove -N move tab page N pages backward 8 :tabmove -N move tab page N pages backward
7 :tabdup duplicate the tab with all its windows. 7 :tabdup duplicate the tab with all its windows.
7 Option to put tab line at the left or right? Need an option to specify 7 Option to put tab line at the left or right? Need an option to specify
its witdh. It's like a separate window with ":tabs" output. its width. It's like a separate window with ":tabs" output.
7 Add local variables for each tab page? 7 Add local variables for each tab page?
8 Add local options for each tab page? E.g., 'diffopt' could differ between 8 Add local options for each tab page? E.g., 'diffopt' could differ between
tab pages. tab pages.

View File

@@ -1,4 +1,4 @@
*usr_04.txt* For Vim version 7.1a. Last change: 2006 Jun 21 *usr_04.txt* For Vim version 7.1b. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*usr_05.txt* For Vim version 7.1a. Last change: 2006 Jul 10 *usr_05.txt* For Vim version 7.1b. Last change: 2006 Jul 10
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*usr_12.txt* For Vim version 7.1a. Last change: 2006 Nov 18 *usr_12.txt* For Vim version 7.1b. Last change: 2006 Nov 18
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar

View File

@@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.1a. Last change: 2007 May 05 *version7.txt* For Vim version 7.1b. Last change: 2007 May 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1007,15 +1007,15 @@ MatchParen matching parens |pi_paren.txt| |hl-MatchParen|
New items in search patterns: ~ New items in search patterns: ~
|/\%d| \%d123 search for character with decimal number |/\%d| \%d123 search for character with decimal number
|/\]| [\d123] idem, in a colletion |/\]| [\d123] idem, in a collection
|/\%o| \%o103 search for character with octal number |/\%o| \%o103 search for character with octal number
|/\]| [\o1o3] idem, in a colletion |/\]| [\o1o3] idem, in a collection
|/\%x| \%x1a search for character with 2 pos. hex number |/\%x| \%x1a search for character with 2 pos. hex number
|/\]| [\x1a] idem, in a colletion |/\]| [\x1a] idem, in a collection
|/\%u| \%u12ab search for character with 4 pos. hex number |/\%u| \%u12ab search for character with 4 pos. hex number
|/\]| [\u12ab] idem, in a colletion |/\]| [\u12ab] idem, in a collection
|/\%U| \%U1234abcd search for character with 8 pos. hex number |/\%U| \%U1234abcd search for character with 8 pos. hex number
|/\]| [\U1234abcd] idem, in a colletion |/\]| [\U1234abcd] idem, in a collection
(The above partly by Ciaran McCreesh) (The above partly by Ciaran McCreesh)
|/[[=| [[=a=]] an equivalence class (only for latin1 characters) |/[[=| [[=a=]] an equivalence class (only for latin1 characters)
@@ -2795,7 +2795,7 @@ move the cursor left.
Prevent that using CTRL-R = in Insert mode can start Visual mode. Prevent that using CTRL-R = in Insert mode can start Visual mode.
Fixed a crash that occured when in Insert mode with completion active and a Fixed a crash that occurred when in Insert mode with completion active and a
mapping caused edit() to be called recursively. mapping caused edit() to be called recursively.
When using CTRL-O in Insert mode just after the last character while When using CTRL-O in Insert mode just after the last character while
@@ -2989,21 +2989,29 @@ Added setting 'mouse' in vimrc_example.vim.
When building with MZscheme also look for include files in the "plt" When building with MZscheme also look for include files in the "plt"
subdirectory. That's where they are for FreeBSD. subdirectory. That's where they are for FreeBSD.
The Ruby interface module is now called "Vim" instead of "VIM". But "VIM" is
an alias, so it's backwards compatible. (Tim Pope)
Added *added-7.1* Added *added-7.1*
----- -----
New syntax files: New syntax files:
/var/log/messages (Yakov Lerner)
AutoIt v3 (Jared Breland) AutoIt v3 (Jared Breland)
Bazaar commit file "bzr". (Dmitry Vasiliev) Bazaar commit file "bzr". (Dmitry Vasiliev)
Cdrdao TOC (Nikolai Weibull)
Cmusrc (Nikolai Weibull) Cmusrc (Nikolai Weibull)
FreeBasic (Mark Manning) FreeBasic (Mark Manning)
Hamster (David Fishburn) Hamster (David Fishburn)
IBasic (Mark Manning) IBasic (Mark Manning)
initng (Elan Ruusamae)
/var/log/messages (Yakov Lerner)
Privoxy actions file (Doug Kearns) Privoxy actions file (Doug Kearns)
Streaming Descriptors "sd" (Puria Nafisi Azizi) Streaming Descriptors "sd" (Puria Nafisi Azizi)
initng (Elan Ruusamae)
Autohotkey (Nikolai Weibull)
Framescript (Nikolai Weibull)
Ldapconf (Nikolai Weibull)
Litestep (Nikolai Weibull)
New tutor files: New tutor files:
Hungarian (Arpad Horvath) Hungarian (Arpad Horvath)
@@ -4556,4 +4564,34 @@ Solution: Embed the linker manifest file into the resources of GvimExt.dll.
Files: src/GvimExt/Makefile Files: src/GvimExt/Makefile
Fixes after Vim 7.1a BETA:
The extra archive had CVS directories included below "farsi" and
"runtime/icons". CVS was missing the farsi icon files.
Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel
Drake)
Mac: "make install" didn't copy rgb.txt.
When editing a compressed file while there are folds caused "ml_get" errors
and some lines could be missing. When decompressing failed option values were
not restored.
Patch 7.1a.001
Problem: Crash when downloading a spell file. (Szabolcs Horvat)
Solution: Avoid that did_set_spelllang() is used recursively when a new
window is opened for the download.
Also avoid wiping out the wrong buffer.
Files: runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
src/spell.c
Patch 7.1a.002 (extra)
Problem: Compilation error with MingW.
Solution: Check for LPTOOLTIPTEXT to be defined.
Files: src/gui_w32.c
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@@ -1,4 +1,4 @@
*workshop.txt* For Vim version 7.1a. Last change: 2006 Apr 24 *workshop.txt* For Vim version 7.1b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur

View File

@@ -8,5 +8,5 @@
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> + LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> + UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ +
+ MIDWORD ' + MIDWORD '-.

View File

@@ -575,7 +575,7 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
// Initialize m_cntOfHWnd to 0 // Initialize m_cntOfHWnd to 0
m_cntOfHWnd = 0; m_cntOfHWnd = 0;
// Retieve all the vim instances // Retrieve all the vim instances
EnumWindows(EnumWindowsProc, (LPARAM)this); EnumWindows(EnumWindowsProc, (LPARAM)this);
if (cbFiles > 1) if (cbFiles > 1)

View File

@@ -110,7 +110,7 @@ typedef struct
float max; /* Maximum value for top */ float max; /* Maximum value for top */
Dimension length; /* either height or width */ Dimension length; /* either height or width */
Dimension thickness; /* either width or height */ Dimension thickness; /* either width or height */
Dimension min_thumb; /* minium size for the thumb. */ Dimension min_thumb; /* minimum size for the thumb. */
/* private */ /* private */
XtIntervalId timer_id; /* autorepeat timer; remove on destruction */ XtIntervalId timer_id; /* autorepeat timer; remove on destruction */

View File

@@ -36,6 +36,9 @@
# ifdef bindtextdomain # ifdef bindtextdomain
# undef bindtextdomain # undef bindtextdomain
# endif # endif
# ifdef bindtextdomain_codeset
# undef bindtextdomain_codeset
# endif
# if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS) # if defined(FEAT_GETTEXT) && !defined(ENABLE_NLS)
# define ENABLE_NLS /* so the texts in the dialog boxes are translated */ # define ENABLE_NLS /* so the texts in the dialog boxes are translated */
# endif # endif
@@ -1566,7 +1569,7 @@ selection_get_cb(GtkWidget *widget,
gui_mch_init_check(void) gui_mch_init_check(void)
{ {
#ifndef HAVE_GTK2 #ifndef HAVE_GTK2
/* This is needed to make the locale handling consistant between the GUI /* This is needed to make the locale handling consistent between the GUI
* and the rest of VIM. */ * and the rest of VIM. */
gtk_set_locale(); gtk_set_locale();
#endif #endif
@@ -1638,7 +1641,7 @@ process_motion_notify(int x, int y, GdkModifierType state)
/* translate modifier coding between the main engine and GTK */ /* translate modifier coding between the main engine and GTK */
vim_modifiers = modifiers_gdk2mouse(state); vim_modifiers = modifiers_gdk2mouse(state);
/* inform the editor engine about the occurence of this event */ /* inform the editor engine about the occurrence of this event */
gui_send_mouse_event(button, x, y, FALSE, vim_modifiers); gui_send_mouse_event(button, x, y, FALSE, vim_modifiers);
if (gtk_main_level() > 0) if (gtk_main_level() > 0)
@@ -2604,7 +2607,7 @@ mainwin_realize(GtkWidget *widget, gpointer data)
int number_sizes; int number_sizes;
/* /*
* Adjust the icon to the preferences of the actual window manager. * Adjust the icon to the preferences of the actual window manager.
* This is once again a workaround for a defficiency in GTK+ 1.2. * This is once again a workaround for a deficiency in GTK+ 1.2.
*/ */
xdisplay = GDK_WINDOW_XDISPLAY(gui.mainwin->window); xdisplay = GDK_WINDOW_XDISPLAY(gui.mainwin->window);
root_window = XRootWindow(xdisplay, DefaultScreen(xdisplay)); root_window = XRootWindow(xdisplay, DefaultScreen(xdisplay));
@@ -2707,7 +2710,7 @@ mainwin_screen_changed_cb(GtkWidget *widget,
return; return;
/* /*
* Recreate the invisble mouse cursor. * Recreate the invisible mouse cursor.
*/ */
if (gui.blank_pointer != NULL) if (gui.blank_pointer != NULL)
gdk_cursor_unref(gui.blank_pointer); gdk_cursor_unref(gui.blank_pointer);
@@ -2971,7 +2974,7 @@ update_window_manager_hints(int force_width, int force_height)
# endif # endif
/* GtkSockets use GtkPlug's [gui,mainwin] min-size hints to determine /* GtkSockets use GtkPlug's [gui,mainwin] min-size hints to determine
* their actual widget size. When we set our size ourselve (e.g., * their actual widget size. When we set our size ourselves (e.g.,
* 'set columns=' or init. -geom) we briefly set the min. to the size * 'set columns=' or init. -geom) we briefly set the min. to the size
* we wish to be instead of the legitimate minimum so that we actually * we wish to be instead of the legitimate minimum so that we actually
* resize correctly. * resize correctly.
@@ -3956,11 +3959,11 @@ mainwin_destroy_cb(GtkObject *object, gpointer data)
* hints (and thus the required size from -geom), but that after that we * hints (and thus the required size from -geom), but that after that we
* put the hints back to normal (the actual minimum size) so we may * put the hints back to normal (the actual minimum size) so we may
* subsequently be resized smaller. GtkSocket (the parent end) uses the * subsequently be resized smaller. GtkSocket (the parent end) uses the
* plug's window 'min hints to set *it's* minum size, but that's also the * plug's window 'min hints to set *it's* minimum size, but that's also the
* only way we have of making ourselves bigger (by set lines/columns). * only way we have of making ourselves bigger (by set lines/columns).
* Thus set hints at start-up to ensure correct init. size, then a * Thus set hints at start-up to ensure correct init. size, then a
* second after the final attempt to reset the real minimum hinst (done by * second after the final attempt to reset the real minimum hinst (done by
* scrollbar init.), actually do the sttandard hinst and stop the timer. * scrollbar init.), actually do the standard hinst and stop the timer.
* We'll not let the default hints be set while this timer's active. * We'll not let the default hints be set while this timer's active.
*/ */
/*ARGSUSED*/ /*ARGSUSED*/
@@ -5430,7 +5433,7 @@ gui_mch_get_color(char_u *name)
/* /*
* Since we have already called gtk_set_locale here the bugger * Since we have already called gtk_set_locale here the bugger
* XParseColor will accept only explicit color names in the language * XParseColor will accept only explicit color names in the language
* of the current locale. However this will interferre with: * of the current locale. However this will interfere with:
* 1. Vim's global startup files * 1. Vim's global startup files
* 2. Explicit color names in .vimrc * 2. Explicit color names in .vimrc
* *
@@ -6359,7 +6362,7 @@ input_timer_cb(gpointer data)
{ {
int *timed_out = (int *) data; int *timed_out = (int *) data;
/* Just inform the caller about the occurence of it */ /* Just inform the caller about the occurrence of it */
*timed_out = TRUE; *timed_out = TRUE;
if (gtk_main_level() > 0) if (gtk_main_level() > 0)

View File

@@ -643,7 +643,7 @@ gui_x11_expose_cb(w, dud, event, dum)
/* /*
* This function fills in the XRectangle object with the current x,y * This function fills in the XRectangle object with the current x,y
* coordinates and height, width so that an XtVaSetValues to the same shell of * coordinates and height, width so that an XtVaSetValues to the same shell of
* those resources will restore the window to its formar position and * those resources will restore the window to its former position and
* dimensions. * dimensions.
* *
* Note: This function may fail, in which case the XRectangle will be * Note: This function may fail, in which case the XRectangle will be

View File

@@ -745,7 +745,7 @@ main
* switch to another screen. It must be done after settmode(TMODE_RAW), * switch to another screen. It must be done after settmode(TMODE_RAW),
* because we want to react on a single key stroke. * because we want to react on a single key stroke.
* Call settmode and starttermcap here, so the T_KS and T_TI may be * Call settmode and starttermcap here, so the T_KS and T_TI may be
* defined by termcapinit and redifined in .exrc. * defined by termcapinit and redefined in .exrc.
*/ */
settmode(TMODE_RAW); settmode(TMODE_RAW);
TIME_MSG("setting raw mode"); TIME_MSG("setting raw mode");
@@ -2253,7 +2253,7 @@ check_tty(parmp)
* output coming to the console and XOpenDisplay fails, I get vim * output coming to the console and XOpenDisplay fails, I get vim
* trying to start with input/output to my console tty. This fills my * trying to start with input/output to my console tty. This fills my
* input buffer so fast I can't even kill the process in under 2 * input buffer so fast I can't even kill the process in under 2
* minutes (and it beeps continuosly the whole time :-) * minutes (and it beeps continuously the whole time :-)
*/ */
if (usingNetbeans && (!parmp->stdout_isatty || !input_isatty)) if (usingNetbeans && (!parmp->stdout_isatty || !input_isatty))
{ {
@@ -2808,7 +2808,7 @@ main_start_gui()
} }
/* /*
* Get an evironment variable, and execute it as Ex commands. * Get an environment variable, and execute it as Ex commands.
* Returns FAIL if the environment variable was not executed, OK otherwise. * Returns FAIL if the environment variable was not executed, OK otherwise.
*/ */
int int

View File

@@ -1097,7 +1097,7 @@ mf_write(mfp, hp)
{ {
/* /*
* Avoid repeating the error message, this mostly happens when the * Avoid repeating the error message, this mostly happens when the
* disk is full. We give the message again only after a succesful * disk is full. We give the message again only after a successful
* write or when hitting a key. We keep on trying, in case some * write or when hitting a key. We keep on trying, in case some
* space becomes available. * space becomes available.
*/ */
@@ -1189,7 +1189,7 @@ mf_trans_add(mfp, hp)
} }
/* /*
* Lookup a tranlation from the trans lists and delete the entry * Lookup a translation from the trans lists and delete the entry
* *
* Return the positive new number when found, the old number when not found * Return the positive new number when found, the old number when not found
*/ */

View File

@@ -1,12 +1,12 @@
# Swedish translation for Vim. # Swedish translation for Vim.
# Copyright (C) 2003-2006 Free Software Foundation, Inc. # Copyright (C) 2003-2007 Free Software Foundation, Inc.
# Johan Svedberg <johan@svedberg.com>, 2003-2006. # Johan Svedberg <johan@svedberg.com>, 2003-2007.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Vim 7\n" "Project-Id-Version: Vim 7.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-04-10 17:24+0200\n" "POT-Creation-Date: 2007-05-09 14:27+0200\n"
"PO-Revision-Date: 2006-04-11 01:08+0200\n" "PO-Revision-Date: 2007-05-09 14:52%z\n"
"Last-Translator: Johan Svedberg <johan@svedberg.com>\n" "Last-Translator: Johan Svedberg <johan@svedberg.com>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -191,6 +191,9 @@ msgstr "E98: Kan inte l
msgid "E99: Current buffer is not in diff mode" msgid "E99: Current buffer is not in diff mode"
msgstr "E99: Aktuell buffert <20>r inte i skiljel<65>ge" msgstr "E99: Aktuell buffert <20>r inte i skiljel<65>ge"
msgid "E793: No other buffer in diff mode is modifiable"
msgstr "E793: Ingen annan buffert i skiljel<65>ge <20>r <20>ndringsbar"
msgid "E100: No other buffer in diff mode" msgid "E100: No other buffer in diff mode"
msgstr "E100: Ingen annan buffert i skiljel<65>ge" msgstr "E100: Ingen annan buffert i skiljel<65>ge"
@@ -206,6 +209,9 @@ msgstr "E102: Kan inte hitta buffert \"%s\""
msgid "E103: Buffer \"%s\" is not in diff mode" msgid "E103: Buffer \"%s\" is not in diff mode"
msgstr "E103: Buffert \"%s\" <20>r inte i skiljel<65>ge" msgstr "E103: Buffert \"%s\" <20>r inte i skiljel<65>ge"
msgid "E787: Buffer changed unexpectedly"
msgstr "E787: Buffert <20>ndrades ov<6F>ntat"
msgid "E104: Escape not allowed in digraph" msgid "E104: Escape not allowed in digraph"
msgstr "E104: Escape inte till<6C>tet i digraf" msgstr "E104: Escape inte till<6C>tet i digraf"
@@ -215,12 +221,15 @@ msgstr "E544: Keymap-fil hittades inte"
msgid "E105: Using :loadkeymap not in a sourced file" msgid "E105: Using :loadkeymap not in a sourced file"
msgstr "E105: Anv<6E>ndning av :loadkeymap utanf<6E>r en k<>rd fil" msgstr "E105: Anv<6E>ndning av :loadkeymap utanf<6E>r en k<>rd fil"
msgid "E791: Empty keymap entry"
msgstr "E791: Tomt tangentbords-post"
msgid " Keyword completion (^N^P)" msgid " Keyword completion (^N^P)"
msgstr " Nyckelordskomplettering (^N^P)" msgstr " Nyckelordskomplettering (^N^P)"
#. ctrl_x_mode == 0, ^P/^N compl. #. ctrl_x_mode == 0, ^P/^N compl.
msgid " ^X mode (^]^D^E^F^I^K^L^N^O^P^S^U^V^Y)" msgid " ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)"
msgstr " ^X-l<>ge (^]^D^E^F^I^K^L^N^O^P^S^U^V^Y)" msgstr " ^X-l<>ge (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)"
msgid " Whole line completion (^L^N^P)" msgid " Whole line completion (^L^N^P)"
msgstr " Helradskomplettering (^L^N^P)" msgstr " Helradskomplettering (^L^N^P)"
@@ -252,8 +261,8 @@ msgstr " Anv
msgid " Omni completion (^O^N^P)" msgid " Omni completion (^O^N^P)"
msgstr " Omnikomplettering (^O^N^P)" msgstr " Omnikomplettering (^O^N^P)"
msgid " Spelling suggestion (^S^N^P)" msgid " Spelling suggestion (s^N^P)"
msgstr " Stavningsf<73>rslag (^S^N^P)" msgstr " Stavningsf<73>rslag (s^N^P)"
msgid " Keyword Local completion (^N^P)" msgid " Keyword Local completion (^N^P)"
msgstr " Lokal nyckelordskomplettering (^N^P)" msgstr " Lokal nyckelordskomplettering (^N^P)"
@@ -488,6 +497,22 @@ msgstr "E723: Saknar slut p
msgid "E724: variable nested too deep for displaying" msgid "E724: variable nested too deep for displaying"
msgstr "E724: variabel n<>stlad f<>r djupt f<>r att visas" msgstr "E724: variabel n<>stlad f<>r djupt f<>r att visas"
#, c-format
msgid "E117: Unknown function: %s"
msgstr "E117: Ok<4F>nd funktion: %s"
#, c-format
msgid "E119: Not enough arguments for function: %s"
msgstr "E119: F<>r f<> argument till funktion: %s"
#, c-format
msgid "E120: Using <SID> not in a script context: %s"
msgstr "E120: Anv<6E>nder inte <SID> i ett skriptsammanhang: %s"
#, c-format
msgid "E725: Calling dict function without Dictionary: %s"
msgstr "E725: Anropar tabell-funktion utan Tabell: %s"
msgid "E699: Too many arguments" msgid "E699: Too many arguments"
msgstr "E699: F<>r m<>nga argument" msgstr "E699: F<>r m<>nga argument"
@@ -524,8 +549,8 @@ msgstr ""
msgid "called inputrestore() more often than inputsave()" msgid "called inputrestore() more often than inputsave()"
msgstr "anropade inputrestore() oftare <20>n inputsave()" msgstr "anropade inputrestore() oftare <20>n inputsave()"
msgid "E745: Range not allowed" msgid "E786: Range not allowed"
msgstr "E745: Omr<6D>de otill<6C>tet" msgstr "E786: Omr<6D>de otill<6C>tet"
msgid "E701: Invalid type for len()" msgid "E701: Invalid type for len()"
msgstr "E701: Ogiltig typ f<>r len()" msgstr "E701: Ogiltig typ f<>r len()"
@@ -594,6 +619,10 @@ msgstr "E705: Variabelnamn konflikterar med existerande funktion %s"
msgid "E706: Variable type mismatch for: %s" msgid "E706: Variable type mismatch for: %s"
msgstr "E706: Variabeltyp matchar inte f<>r: %s" msgstr "E706: Variabeltyp matchar inte f<>r: %s"
#, c-format
msgid "E795: Cannot delete variable %s"
msgstr "E795: Kan inte ta bort variabel %s"
#, c-format #, c-format
msgid "E741: Value is locked: %s" msgid "E741: Value is locked: %s"
msgstr "E741: V<>rde <20>r l<>st: %s" msgstr "E741: V<>rde <20>r l<>st: %s"
@@ -858,6 +887,7 @@ msgstr " m
msgid " FAILED" msgid " FAILED"
msgstr " MISSLYCKADES" msgstr " MISSLYCKADES"
#. avoid a wait_return for this message, it's annoying
#, c-format #, c-format
msgid "E137: Viminfo file is not writable: %s" msgid "E137: Viminfo file is not writable: %s"
msgstr "E137: Viminfo-fil <20>r inte skrivbar: %s" msgstr "E137: Viminfo-fil <20>r inte skrivbar: %s"
@@ -1383,6 +1413,9 @@ msgstr "E602: :endtry utan :try"
msgid "E193: :endfunction not inside a function" msgid "E193: :endfunction not inside a function"
msgstr "E193: :endfunction inte inom en funktion" msgstr "E193: :endfunction inte inom en funktion"
msgid "E788: Not allowed to edit another buffer now"
msgstr "E788: Inte till<6C>tet att redigera en annan buffert nu"
msgid "tagname" msgid "tagname"
msgstr "taggnamn" msgstr "taggnamn"
@@ -1427,6 +1460,9 @@ msgstr "
msgid "is not a file" msgid "is not a file"
msgstr "<22>r inte en fil" msgstr "<22>r inte en fil"
msgid "is a device (disabled with 'opendevice' option"
msgstr "<22>r en enhet (inaktiverad med 'opendevice'-flagga"
msgid "[New File]" msgid "[New File]"
msgstr "[Ny fil]" msgstr "[Ny fil]"
@@ -1524,6 +1560,9 @@ msgstr "Delvisa skrivningar till
msgid "is not a file or writable device" msgid "is not a file or writable device"
msgstr "<22>r inte en fil eller skrivbar enhet" msgstr "<22>r inte en fil eller skrivbar enhet"
msgid "writing to device disabled with 'opendevice' option"
msgstr "skriver till en enhet inaktiverad med 'opendevice'-flagga"
msgid "is read-only (add ! to override)" msgid "is read-only (add ! to override)"
msgstr "<22>r skrivskyddad (l<>gg till ! f<>r att tvinga)" msgstr "<22>r skrivskyddad (l<>gg till ! f<>r att tvinga)"
@@ -2480,12 +2519,33 @@ msgstr "<f
msgid "no such window" msgid "no such window"
msgstr "inget s<>dant f<>nster" msgstr "inget s<>dant f<>nster"
msgid "E265: $_ must be an instance of String"
msgstr "E265: $_ m<>ste vara en instans av String"
msgid "" msgid ""
"E266: Sorry, this command is disabled, the Ruby library could not be loaded." "E266: Sorry, this command is disabled, the Ruby library could not be loaded."
msgstr "" msgstr ""
"E266: Tyv<79>rr, detta kommandot <20>r inaktiverat, Ruby-biblioteket kunde inte " "E266: Tyv<79>rr, detta kommandot <20>r inaktiverat, Ruby-biblioteket kunde inte "
"l<>sas in." "l<>sas in."
msgid "E267: unexpected return"
msgstr "E267: ov<6F>ntad returnering"
msgid "E268: unexpected next"
msgstr "E268: ov<6F>ntad next"
msgid "E269: unexpected break"
msgstr "E269: ov<6F>ntad break"
msgid "E270: unexpected redo"
msgstr "E270: ov<6F>ntad redo"
msgid "E271: retry outside of rescue clause"
msgstr "E271: retry utanf<6E>r rescue-block"
msgid "E272: unhandled exception"
msgstr "E272: ohanterat undantag"
#, c-format #, c-format
msgid "E273: unknown longjmp status %d" msgid "E273: unknown longjmp status %d"
msgstr "E273: ok<6F>nt longjmp-status %d" msgstr "E273: ok<6F>nt longjmp-status %d"
@@ -2755,8 +2815,12 @@ msgstr ""
"\n" "\n"
" eller:" " eller:"
msgid "where case is ignored prepend / to make flag upper case" msgid ""
msgstr "d<>r storlek ignoreras b<>rja med / f<>r att g<>ra flagga versal" "\n"
"Where case is ignored prepend / to make flag upper case"
msgstr ""
"\n"
"D<>r storlek ignoreras b<>rja med / f<>r att g<>ra flagga versal"
msgid "" msgid ""
"\n" "\n"
@@ -2824,8 +2888,8 @@ msgstr "-C\t\t\tKompatibelt med Vi: 'compatible'"
msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'" msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'"
msgstr "-N\t\t\tInte fullt Vi-kompatibel: 'nocompatible'" msgstr "-N\t\t\tInte fullt Vi-kompatibel: 'nocompatible'"
msgid "-V[N]\t\tVerbose level" msgid "-V[N][fname]\t\tBe verbose [level N] [log messages to fname]"
msgstr "-V[N]\t\tM<74>ngordigt l<>ge" msgstr "-V[N][fnamn]\t\tVar m<>ngordig [niv<69> N] [logga meddelanden till fnamn]"
msgid "-D\t\t\tDebugging mode" msgid "-D\t\t\tDebugging mode"
msgstr "-D\t\t\tFels<6C>kningsl<73>ge" msgstr "-D\t\t\tFels<6C>kningsl<73>ge"
@@ -3256,6 +3320,9 @@ msgstr ""
",\n" ",\n"
"eller s<> har filen blivit skadad." "eller s<> har filen blivit skadad."
msgid " has been damaged (page size is smaller than minimum value).\n"
msgstr " har skadats (sid-storlek <20>r mindre <20>n minimumv<6D>rdet).\n"
#, c-format #, c-format
msgid "Using swap file \"%s\"" msgid "Using swap file \"%s\""
msgstr "Anv<6E>nder v<>xlingsfil \"%s\"" msgstr "Anv<6E>nder v<>xlingsfil \"%s\""
@@ -3597,6 +3664,10 @@ msgstr "E328: Meny existerar bara i ett annat l
msgid "E329: No menu \"%s\"" msgid "E329: No menu \"%s\""
msgstr "E329: Ingen meny \"%s\"" msgstr "E329: Ingen meny \"%s\""
#. Only a mnemonic or accelerator is not valid.
msgid "E792: Empty menu name"
msgstr "E792: Tomt menynamn"
msgid "E330: Menu path must not lead to a sub-menu" msgid "E330: Menu path must not lead to a sub-menu"
msgstr "E330: Menys<79>kv<6B>g f<>r inte leda till en undermeny" msgstr "E330: Menys<79>kv<6B>g f<>r inte leda till en undermeny"
@@ -4199,9 +4270,6 @@ msgstr "ANCHOR_BUF_SIZE f
msgid "I/O ERROR" msgid "I/O ERROR"
msgstr "I/O-FEL" msgstr "I/O-FEL"
msgid "...(truncated)"
msgstr "...(trunkerade)"
msgid "Message" msgid "Message"
msgstr "Meddelande" msgstr "Meddelande"
@@ -4642,6 +4710,16 @@ msgstr "E388: Kunde inte hitta definition"
msgid "E389: Couldn't find pattern" msgid "E389: Couldn't find pattern"
msgstr "E389: Kunde inte hitta m<>nster" msgstr "E389: Kunde inte hitta m<>nster"
#, c-format
msgid ""
"\n"
"# Last %sSearch Pattern:\n"
"~"
msgstr ""
"\n"
"# Senaste %sS<73>km<6B>nster:\n"
"~"
msgid "E759: Format error in spell file" msgid "E759: Format error in spell file"
msgstr "E759: Formateringsfel i stavningsfil" msgstr "E759: Formateringsfel i stavningsfil"
@@ -4716,6 +4794,20 @@ msgstr "Ogiltigt v
msgid "FLAG after using flags in %s line %d: %s" msgid "FLAG after using flags in %s line %d: %s"
msgstr "FLAG efter anv<6E>ndning av flags i %s rad %d: %s" msgstr "FLAG efter anv<6E>ndning av flags i %s rad %d: %s"
#, c-format
msgid ""
"Defining COMPOUNDFORBIDFLAG after PFX item may give wrong results in %s line "
"%d"
msgstr ""
"Definiera COMPOUNDFORBIDFLAG efter PFX-post kan ge fel resultat i %s rad %d"
#, c-format
msgid ""
"Defining COMPOUNDPERMITFLAG after PFX item may give wrong results in %s line "
"%d"
msgstr "Definiera COMPOUNDPERMITFLAG efter PFX-post kan ge fel resultat i %s "
"rad %d"
#, c-format #, c-format
msgid "Wrong COMPOUNDWORDMAX value in %s line %d: %s" msgid "Wrong COMPOUNDWORDMAX value in %s line %d: %s"
msgstr "Fel COMPOUNDWORDMAX-v<>rde i %s rad %d: %s" msgstr "Fel COMPOUNDWORDMAX-v<>rde i %s rad %d: %s"
@@ -4745,8 +4837,8 @@ msgid ""
"Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in %s " "Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in %s "
"line %d: %s" "line %d: %s"
msgstr "" msgstr ""
"Affix ocks<6B> anv<6E>nd f<>r BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST i " "Affix ocks<6B> anv<6E>nd f<>r BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST i %"
"%s rad %d: %s" "s rad %d: %s"
#, c-format #, c-format
msgid "Expected Y or N in %s line %d: %s" msgid "Expected Y or N in %s line %d: %s"
@@ -4756,10 +4848,6 @@ msgstr "F
msgid "Broken condition in %s line %d: %s" msgid "Broken condition in %s line %d: %s"
msgstr "Trasigt villkor i %s rad %d: %s" msgstr "Trasigt villkor i %s rad %d: %s"
#, c-format
msgid "Affix flags ignored when PFXPOSTPONE used in %s line %d: %s"
msgstr "Affix-flaggor ignorerade n<>r PFXPOSTPONE anv<6E>nds i %s rad %d: %s"
#, c-format #, c-format
msgid "Expected REP(SAL) count in %s line %d" msgid "Expected REP(SAL) count in %s line %d"
msgstr "F<>rv<72>ntade REP(SAL)-antal i %s rad %d" msgstr "F<>rv<72>ntade REP(SAL)-antal i %s rad %d"
@@ -4948,6 +5036,7 @@ msgstr "Tyv
msgid "Sorry, only %ld suggestions" msgid "Sorry, only %ld suggestions"
msgstr "Tyv<79>rr, bara %ld f<>reslag" msgstr "Tyv<79>rr, bara %ld f<>reslag"
#. for when 'cmdheight' > 1
#. avoid more prompt #. avoid more prompt
#, c-format #, c-format
msgid "Change \"%.*s\" to:" msgid "Change \"%.*s\" to:"
@@ -5349,6 +5438,13 @@ msgstr "Inget att
msgid "number changes time" msgid "number changes time"
msgstr "antal <20>ndringar tid" msgstr "antal <20>ndringar tid"
#, c-format
msgid "%ld seconds ago"
msgstr "%ld sekunder sedan"
msgid "E790: undojoin is not allowed after undo"
msgstr "E790: undojoin <20>r inte till<6C>tet efter undo"
msgid "E439: undo list corrupt" msgid "E439: undo list corrupt"
msgstr "E439: <20>ngra-lista trasig" msgstr "E439: <20>ngra-lista trasig"
@@ -5363,6 +5459,13 @@ msgstr ""
"\n" "\n"
"MS-Windows 16/32-bitars GUI-version" "MS-Windows 16/32-bitars GUI-version"
msgid ""
"\n"
"MS-Windows 64 bit GUI version"
msgstr ""
"\n"
"MS-Windows 64-bitars GUI-version"
msgid "" msgid ""
"\n" "\n"
"MS-Windows 32 bit GUI version" "MS-Windows 32 bit GUI version"
@@ -5655,6 +5758,9 @@ msgstr "VARNING: Windows 95/98/ME uppt
msgid "type :help windows95<Enter> for info on this" msgid "type :help windows95<Enter> for info on this"
msgstr "skriv :help windows95<Enter> f<>r info om det h<>r" msgstr "skriv :help windows95<Enter> f<>r info om det h<>r"
msgid "Already only one window"
msgstr "Redan bara ett f<>nster"
msgid "E441: There is no preview window" msgid "E441: There is no preview window"
msgstr "E441: Det finns inget f<>rhandsvisningsf<73>nster" msgstr "E441: Det finns inget f<>rhandsvisningsf<73>nster"
@@ -5667,9 +5773,6 @@ msgstr "E443: Kan inte rotera n
msgid "E444: Cannot close last window" msgid "E444: Cannot close last window"
msgstr "E444: Kan inte st<73>nga senaste f<>nstret" msgstr "E444: Kan inte st<73>nga senaste f<>nstret"
msgid "Already only one window"
msgstr "Redan bara ett f<>nster"
msgid "E445: Other window contains changes" msgid "E445: Other window contains changes"
msgstr "E445: Andra f<>nster inneh<65>ller <20>ndringar" msgstr "E445: Andra f<>nster inneh<65>ller <20>ndringar"
@@ -5961,8 +6064,8 @@ msgid "E46: Cannot change read-only variable \"%s\""
msgstr "E46: Kan inte <20>ndra skrivskyddad variabel \"%s\"" msgstr "E46: Kan inte <20>ndra skrivskyddad variabel \"%s\""
#, c-format #, c-format
msgid "E46: Cannot set variable in the sandbox: \"%s\"" msgid "E794: Cannot set variable in the sandbox: \"%s\""
msgstr "E46: Kan inte s<>tta variabel i sandl<64>dan: \"%s\"" msgstr "E794: Kan inte s<>tta variabel i sandl<64>dan: \"%s\""
msgid "E47: Error while reading errorfile" msgid "E47: Error while reading errorfile"
msgstr "E47: Fel vid l<>sning av felfil" msgstr "E47: Fel vid l<>sning av felfil"

View File

@@ -2355,7 +2355,7 @@ clip_x11_set_selection(cbd)
/* /*
* Move the cursor to the specified row and column on the screen. * Move the cursor to the specified row and column on the screen.
* Change current window if neccesary. Returns an integer with the * Change current window if necessary. Returns an integer with the
* CURSOR_MOVED bit set if the cursor has moved or unset otherwise. * CURSOR_MOVED bit set if the cursor has moved or unset otherwise.
* *
* The MOUSE_FOLD_CLOSE bit is set when clicked on the '-' in a fold column. * The MOUSE_FOLD_CLOSE bit is set when clicked on the '-' in a fold column.
@@ -2422,7 +2422,7 @@ jump_to_mouse(flags, inclusive, which_button)
&& prev_col == mouse_col) && prev_col == mouse_col)
{ {
retnomove: retnomove:
/* before moving the cursor for a left click wich is NOT in a status /* before moving the cursor for a left click which is NOT in a status
* line, stop Visual mode */ * line, stop Visual mode */
if (on_status_line) if (on_status_line)
return IN_STATUS_LINE; return IN_STATUS_LINE;