Boyko Bantchev wrote:
> On 4 August 2010 20:15, Bram Moolenaar <[email protected]> wrote:
> > ...
> > Please report every problem you find! =A0The 7.3 release should not
> > contain a problem because you didn't report it.
> > ...
>
> Well, I did point out to two bugs earlier, and they are still
> present in 7.3d.
>
> 1. Function input()'s echo is broken. If one executes, e.g.
>
> :while 1 | let s = input('') | echo "\n" | endw
>
> one would expect to see a succession of strings that he enters.
> Instead, we are left with nothing but empty lines.
> This bug seems to be very old, and seriously hampers writing
> interactive vimscriptlets.
Try this:
:while 1 | let s = input('') | echo s "\n" | endw
Not sure this is a bug. If someone wants to erase the typed text this
would work now but not when making it work the way you suggest.
> 2. Under Linux + GTK, all Unicode characters combined-accented with
> U+0300, U+0301, ... (any of those) are incorrectly displayed:
> the accent is either (mis)placed above the character on the left,
> or is not displayed at all.
> This seems to have originated with Vim 7.2.
I see this too. I can fix it with this change:
--- a/gui_gtk_x11.c 2010-07-25 15:48:22.000000000 +0200
+++ b/gui_gtk_x11.c 2010-08-05 23:09:43.000000000 +0200
@@ -5108,10 +5108,11 @@
/* There is a previous glyph, so we deal with combining
* characters the canonical way. That is, setting the
- * width of the previous glyph to 0. */
+ * width of the previous glyph to 0 and set the x_offset
+ * to puth the accent glyph in the middle. */
glyphs->glyphs[i - 1].geometry.width = 0;
width = cells * gui.char_width * PANGO_SCALE;
- glyph->geometry.x_offset +=
+ glyph->geometry.x_offset =
MAX(0, width - cluster_width) / 2;
#if 0
/* Dirty hack: for "monospace 13" font there is a bug that
But that might break it for others...
--
hundred-and-one symptoms of being an internet addict:
18. Your wife drapes a blond wig over your monitor to remind you of what she
looks like.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php