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

Re: netbeans 'setDot' behavior same as ':drop'

Expand Messages
  • Bram Moolenaar
    ... Makes sense. I think this can also be used in the other places where the Netbeans interface uses set_curbuf(). -- hundred-and-one symptoms of being an
    Message 1 of 2 , Feb 5, 2006
    • 0 Attachment
      Xavier de Gaye wrote:

      > The netbeans command 'setDot' does not look for a window having
      > already the requested buffer displayed and instead, always replaces
      > the buffer in the current window with the requested buffer (the result
      > may be that two windows are displaying the same buffer). It would be
      > nice to have the same behavior as the ":drop" command.
      >
      > Here is a proposed fix (context diff to Vim 6.4):

      Makes sense. I think this can also be used in the other places where
      the Netbeans interface uses set_curbuf().

      --
      hundred-and-one symptoms of being an internet addict:
      269. You receive an e-mail from the wife of a deceased president, offering
      to send you twenty million dollar, and you are not even surprised.

      /// Bram Moolenaar -- Bram@... -- 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://www.ICCF.nl ///
    Your message has been successfully submitted and would be delivered to recipients shortly.