Loading ...
Sorry, an error occurred while loading the content.

Re: problem fixes

Expand Messages
  • Bram Moolenaar
    ... I m currently working very hard to bring out the first Vim 6.0 test version. It will include a lot of multi-byte changes, mostly to support UTF-8. The work
    Message 1 of 2 , Jun 29, 2000
    • 0 Attachment
      Nagano wrote:

      > Now, please let me change vim against for following problem.
      > I hope these patch will be included in vim5.7.

      I'm currently working very hard to bring out the first Vim 6.0 test version.
      It will include a lot of multi-byte changes, mostly to support UTF-8.
      The work on 5.7 patches will be slow for a while.

      Anyway, thanks for your patches. I'll include them later.

      This change doesn't look right:

      > @@ -3130,6 +3130,26 @@
      > gtk_main(); /* wait for selection_received_event */
      >
      > if (received_selection == RS_FAIL)
      > + {
      > + /* Now try to get it out of the usual string selection. */
      > + received_selection = RS_NONE;
      > + (void)gtk_selection_convert(gui.drawarea, GDK_SELECTION_PRIMARY,
      > + gdk_atom_intern("COMPOUND_TEXT", FALSE),
      > + (guint32)GDK_CURRENT_TIME);
      > + while (received_selection == RS_NONE)
      > + gtk_main(); /* wait for selection_received_event */
      > + }
      > + else if (received_selection == RS_FAIL)
      > + {
      > + /* Now try to get it out of the usual string selection. */
      > + received_selection = RS_NONE;
      > + (void)gtk_selection_convert(gui.drawarea, GDK_SELECTION_PRIMARY,
      > + gdk_atom_intern("TEXT", FALSE),
      > + (guint32)GDK_CURRENT_TIME);
      > + while (received_selection == RS_NONE)
      > + gtk_main(); /* wait for selection_received_event */
      > + }
      > + else if (received_selection == RS_FAIL)
      > {
      > /* Now try to get it out of the usual string selection. */
      > received_selection = RS_NONE;

      It seems only the first "if" is every used. Shouldn't those "else if" be
      changed to "if"?

      --
      hundred-and-one symptoms of being an internet addict:
      144. You eagerly await the update of the "Cool Site of the Day."

      /// Bram Moolenaar Bram@... http://www.moolenaar.net \\\
      \\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.