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

Re: Trouble redrawing underscores?

Expand Messages
  • Bram Moolenaar
    ... It works just fine for me. Did you try installing Vim 6.1? -- There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU, Linux, etc,
    Message 1 of 5 , Sep 3 1:33 PM
      Tim Chase wrote:

      > I've got a mild frustration with gvim, that it seems to have trouble
      > redrawing underscores when syntax highlighting is turned on. Some seem to
      > be more problematic than others (ones that have a "bold" attribute are
      > more so than "normal" underscores). The symptoms generally consist of the
      > underscore either being drawn correctly the first time, or not at all.
      > Future screen updates seem to leave ghost trails of underscores in their
      > previous locations--e.g. if scrolling with ^E and ^Y, I get a vertical
      > trail of underscores; while inserting at the beginning of the line with
      > underscores later in the line causes a horizontal trail of underscores on
      > the screen. Occasionally, they tend not to display at all (I've noticed
      > that the "italic" attribute set tends to exacerbate this problem) It all
      > goes away with a refresh (^L), and everything data-wise is still correct,
      > just as seen with syntax off. It lasts until the screen changes again.
      > It's not the syntax file, as it happens in C, Java, text files, PHP, HTML,
      > XML, whatever...
      >
      > The most germane option is: guifont=courier_new:h9:w6
      >
      > It's gvim 6.0 with OLE running on Win2k, and I can easily post any further
      > ":version" or ":set all" output if it would be helpful in solving this
      > little mystery. Thanks,

      It works just fine for me. Did you try installing Vim 6.1?

      --
      There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
      Linux, etc, and those who know COBOL. It gets very difficult for me at
      parties, not knowing which group to socialise with :-)
      Sitaram Chamarty

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
    • John Culleton
      ... There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU, Linux, etc, and those who know COBOL. It gets very difficult for me at
      Message 2 of 5 , Sep 3 4:57 PM
        On Tuesday 03 September 2002 04:33 pm, Bram Moolenaar wrote:
        > Tim Chase wrote:
        >
        There are 2 kinds of people in my world: those who know Unix, Perl,
        Vim, GNU,
        Linux, etc, and those who know COBOL. It gets very difficult for me
        at
        parties, not knowing which group to socialise with :-)
        Sitaram Chamarty

        /// Bram Moolenaar -- Bram@...

        the estimable Sitram can talk to me, I speak COBOL from 1968 on, and
        the other thingies starting with Xenix in 1979 or thereabouts.

        The farmers and the ranchers can be friends.

        John Culleton
      • Antoine J. Mechelynck
        ... From: John Culleton To: Bram Moolenaar ; Tim Chase Cc: Sent:
        Message 3 of 5 , Sep 3 5:19 PM
          ----- Original Message -----
          From: "John Culleton" <john@...>
          To: "Bram Moolenaar" <Bram@...>; "Tim Chase" <gumnos@...>
          Cc: <vim@...>
          Sent: Wednesday, September 04, 2002 1:57 AM
          Subject: Re: Trouble redrawing underscores?


          > On Tuesday 03 September 2002 04:33 pm, Bram Moolenaar wrote:
          > > Tim Chase wrote:
          > >
          > There are 2 kinds of people in my world: those who know Unix, Perl,
          > Vim, GNU,
          > Linux, etc, and those who know COBOL. It gets very difficult for me
          > at
          > parties, not knowing which group to socialise with :-)
          > Sitaram Chamarty
          >
          > /// Bram Moolenaar -- Bram@...
          >
          > the estimable Sitram can talk to me, I speak COBOL from 1968 on, and
          > the other thingies starting with Xenix in 1979 or thereabouts.
          >
          > The farmers and the ranchers can be friends.
          >
          > John Culleton
          >
          >
          So! I'm not alone. I learned COBOL more or less at the same time you did,
          but those other thingies (except Perl which I don't know yet) much more
          recently (a few years only).

          Tony.
        • Tim Chase
          ... seem to ... the ... their ... with ... on ... noticed ... all ... correct, ... again. ... HTML, ... Though I don t usually reply to my own posts (though if
          Message 4 of 5 , Oct 28, 2002
            > > redrawing underscores when syntax highlighting is turned on. Some
            seem to
            > > be more problematic than others (ones that have a "bold" attribute are
            > > more so than "normal" underscores). The symptoms generally consist of
            the
            > > underscore either being drawn correctly the first time, or not at all.
            > > Future screen updates seem to leave ghost trails of underscores in
            their
            > > previous locations--e.g. if scrolling with ^E and ^Y, I get a vertical
            > > trail of underscores; while inserting at the beginning of the line
            with
            > > underscores later in the line causes a horizontal trail of underscores
            on
            > > the screen. Occasionally, they tend not to display at all (I've
            noticed
            > > that the "italic" attribute set tends to exacerbate this problem) It
            all
            > > goes away with a refresh (^L), and everything data-wise is still
            correct,
            > > just as seen with syntax off. It lasts until the screen changes
            again.
            > > It's not the syntax file, as it happens in C, Java, text files, PHP,
            HTML,
            > > XML, whatever...
            > >
            > > The most germane option is: guifont=courier_new:h9:w6

            Though I don't usually reply to my own posts (though if threading is
            enabled, this is actually in reply to Bram's query if I'm running 6.1 and
            the problem goes away), I found that a recent solution to another problem
            solved this one. The solution to this one was that my linespacing (:set
            lsp) was set to 0 on a windows box. By setting it to 1, the underscores
            all behave as they should. Hope this is as helpful for others as it was
            for me,

            -tim
          Your message has been successfully submitted and would be delivered to recipients shortly.