Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 67830 Details for
Bug 78292
app-vim/vimspell-1.95 messes up character spacing while in UTF-8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vimspell-1.95 patch to fix spacing bug
vimspell.patch (text/plain), 811 bytes, created by
Dylan Carlson (RETIRED)
on 2005-09-07 07:58:09 UTC
(
hide
)
Description:
vimspell-1.95 patch to fix spacing bug
Filename:
MIME Type:
Creator:
Dylan Carlson (RETIRED)
Created:
2005-09-07 07:58:09 UTC
Size:
811 bytes
patch
obsolete
>--- vimspell.vim.orig Thu Jul 14 01:19:58 2005 >+++ vimspell.vim Fri Jul 15 13:53:21 2005 >@@ -1180,11 +1180,16 @@ > > let l:linepos = line(".") > let l:colpos = col(".") >- "echomsg 'exe :.s/\%'.l:colpos.'c./'. a:char . '/' > if a:char != "" >+ "echomsg 'exe :.s/\%'.l:colpos.'c./'. a:char . '/' > exe ':.s/.\%' . l:colpos.'c/'. a:char . '/' > end >- "echomsg "call cursor(". l:linepos.", ".l:colpos.")" >+ if a:char != "" && strpart(&encoding, 0, 1) == "u" >+ " l:colpos - 1 prevents incorrect cursor positioning when <Space> is >+ " pressed within a line. This applies only to Unicode encodings. >+ let l:colpos = l:colpos - 1 >+ end >+ "echomsg "call cursor(". l:linepos.", ".(l:colpos).")" > call cursor(l:linepos, l:colpos) > > " return if there is not a word character before the cursor >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 78292
: 67830