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

Re: gvim status line overwriting my echo statements

Expand Messages
  • Bram Moolenaar
    ... I don t understand this. How can updating the status bar overwrite an echo message? Do you mean that the last line is showing that message? That would
    Message 1 of 2 , Sep 27, 2002
      Dave Fishburn wrote:

      > Vim 6.1.165 W2K
      >
      > This only occurs with gvim, vim(console) works fine.
      >
      > I have a script that loops through all the open buffers looking for a
      > string.
      > The problem only occurs if the string is in a different buffer.
      > When it finds it, it building another string.
      > This string is then put in the unnamed buffer.
      > I also echo the string using the echo command.
      > But I issue the echo AFTER I have switched back to the original buffer.
      >
      > When the function finishes, the GUI updates the status bar with:
      > "procs.sql" 632 lines --43%--
      >
      > Which effectively overwrites my echo.
      >
      > I looked through the help file, but am not sure what to query on.
      > laststatus is the same between them.

      I don't understand this. How can updating the status bar overwrite an
      "echo" message? Do you mean that the last line is showing that message?
      That would be strange, and echo _after_ loading the buffer should
      overwrite it.

      --
      Q: How to decide if I should clean my house or work on improving Vim?
      A: Depends on which has more bugs.

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.