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

Re: [PATCH] (1/2) Add window.tabpage, make window.number work with non-current tab pages

Expand Messages
  • Bram Moolenaar
    ... Thanks. I ll include it soon. ... I wonder if we can help the developer by giving more information about the type of the element, in a consistent way.
    Message 1 of 3 , May 16, 2013
    • 0 Attachment
      ZyX wrote:

      > # HG changeset patch
      > # User ZyX <kp-pav@...>
      > # Date 1368673074 -14400
      > # Branch python-extended-2
      > # Node ID 02c4f613343a69eeba16a8a4742f5a9dee269861
      > # Parent 9ea73172864c892283abb0735b427cba5485820c
      > Record tabpage in window
      >
      > Needed to report correct window.number for non-current-tabpage windows
      >
      > For backwards compatibility repr() result does not change.

      Thanks. I'll include it soon.

      > diff -r 9ea73172864c -r 02c4f613343a runtime/doc/if_pyth.txt
      > --- a/runtime/doc/if_pyth.txt Thu May 16 05:49:26 2013 +0400
      > +++ b/runtime/doc/if_pyth.txt Thu May 16 06:57:54 2013 +0400
      > @@ -433,8 +433,9 @@
      > This is zero in case it cannot be determined
      > (e.g. when the window object belongs to other
      > tab page).
      > - row, col (read-only) On-screen window position in display cells.
      > + row, col (read-only) On-screen window position in display cells.
      > First position is zero.
      > + tabpage (read-only) Window tab page.

      I wonder if we can help the developer by giving more information about
      the type of the element, in a consistent way. What you have here is an
      object, right? Not a tabpage number.


      --
      Life is a gift, living is an art. (Bram Moolenaar)

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      --
      You received this message from the "vim_dev" 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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.