Re: Impossible to resize windows with mouse when command line opened
On Feb 28, 1:52 pm, Bram Moolenaar b...@moolenaar.net wrote: Oh, you are using the command line window. That's a different thing. It appears there is a bug that forbids dragging the status line between the split windows. I'll look into that. It seems that vim 7.2.394 solves the problem. Thank you Bram, Best regards Jean Johner -- 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
Re: Impossible to resize windows with mouse when command line opened
Jean Johner wrote: On Feb 27, 1:54 pm, Bram Moolenaar b...@moolenaar.net wrote: If I understand you correctly, that's the selection mechanism that lets you copy text from the screen to the command you are typing. Hello Bram, What I wanted to say is that the present behaviour is not intuitive in my opinion. Take the case of the Linux distribution with the default .vimrc After you have typed gvim file1 :sp file2 q: you get two status lines: file1 at the bottom and file2 in the middle. When you put the mouse on the status line file1, you see a vertical double-sided arrow which indicates that you can use the mouse to change the dimension of the window. And in fact it does. When you put the mouse on the status line file2, you see the same arrow so that you are tempted to do the same, but this time it does not work (for good reasons) and you select text instead. I think that will be felt to be a bug by new users (like me). Two possibilities in my opinion: 1/ When you put the mouse on status line file2, a cross appears instead of an arrow, indicating that the mouse is not active there. If the user tries to drag, nothing happens. Selection of text in the status line is forbidden in that case. 2/ If you really want to allow selection in the status line file2 (which in my opinion is not useful since it is not possible in status line file1), then it would be better to show the standard oblique one- sided arrow when you put the mouse on status line file2. Oh, you are using the command line window. That's a different thing. It appears there is a bug that forbids dragging the status line between the split windows. I'll look into that. I have another problem in the case of Windows distribution with the default _vimrc. After having typed the same commands as above, I could not find a way to copy the text selected by dragging the mouse in file1 or file2 to the command line window. Center-click does work neither CTRL-C/CTRL-V. I haven't verified the specific situation, there are a few options and mappings that may change behavior. Especially 'mousemodel' and sourcing $VIMRUNTIME/mswin.vim. Copying modeles selection is done with CTRL-Y, past with CTRL-R +. :help modelsss -- ### Hiroshima 45, Chernobyl 86, Windows 95 ### /// Bram Moolenaar -- b...@moolenaar.net -- 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://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
Re: Impossible to resize windows with mouse when command line opened
Jean Johner wrote: On Feb 26, 10:29=A0pm, Bram Moolenaar b...@moolenaar.net wrote: That is the expected behavior. =A0When you are at the command line the text above it may scroll up, it may even scroll off-screen. =A0The window layout isn't available then. Hi Bram, I realized that after posting. However, perhaps these ugly black lines appearing when you try to move the status line with the mouse could be suppressed. If I understand you correctly, that's the selection mechanism that lets you copy text from the screen to the command you are typing. -- GALAHAD: No look, really, this isn't nescess ... PIGLET: We must examine you. GALAHAD: There's nothing wrong with ... that. Monty Python and the Holy Grail PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- 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://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
Re: Impossible to resize windows with mouse when command line opened
On Feb 27, 1:54 pm, Bram Moolenaar b...@moolenaar.net wrote: If I understand you correctly, that's the selection mechanism that lets you copy text from the screen to the command you are typing. Hello Bram, What I wanted to say is that the present behaviour is not intuitive in my opinion. Take the case of the Linux distribution with the default .vimrc After you have typed gvim file1 :sp file2 q: you get two status lines: file1 at the bottom and file2 in the middle. When you put the mouse on the status line file1, you see a vertical double-sided arrow which indicates that you can use the mouse to change the dimension of the window. And in fact it does. When you put the mouse on the status line file2, you see the same arrow so that you are tempted to do the same, but this time it does not work (for good reasons) and you select text instead. I think that will be felt to be a bug by new users (like me). Two possibilities in my opinion: 1/ When you put the mouse on status line file2, a cross appears instead of an arrow, indicating that the mouse is not active there. If the user tries to drag, nothing happens. Selection of text in the status line is forbidden in that case. 2/ If you really want to allow selection in the status line file2 (which in my opinion is not useful since it is not possible in status line file1), then it would be better to show the standard oblique one- sided arrow when you put the mouse on status line file2. I have another problem in the case of Windows distribution with the default _vimrc. After having typed the same commands as above, I could not find a way to copy the text selected by dragging the mouse in file1 or file2 to the command line window. Center-click does work neither CTRL-C/CTRL-V. Best regards, Jean Johner -- 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
Re: Impossible to resize windows with mouse when command line opened
On Sat, Feb 27, 2010 at 2:39 PM, Jean Johner jean.joh...@cea.fr wrote: On Feb 27, 1:54 pm, Bram Moolenaar b...@moolenaar.net wrote: If I understand you correctly, that's the selection mechanism that lets you copy text from the screen to the command you are typing. Hello Bram, What I wanted to say is that the present behaviour is not intuitive in my opinion. Take the case of the Linux distribution with the default .vimrc After you have typed gvim file1 :sp file2 q: you get two status lines: file1 at the bottom and file2 in the middle. When you put the mouse on the status line file1, you see a vertical double-sided arrow which indicates that you can use the mouse to change the dimension of the window. And in fact it does. When you put the mouse on the status line file2, you see the same arrow so that you are tempted to do the same, but this time it does not work (for good reasons) and you select text instead. I think that will be felt to be a bug by new users (like me). Two possibilities in my opinion: 1/ When you put the mouse on status line file2, a cross appears instead of an arrow, indicating that the mouse is not active there. If the user tries to drag, nothing happens. Selection of text in the status line is forbidden in that case. 2/ If you really want to allow selection in the status line file2 (which in my opinion is not useful since it is not possible in status line file1), then it would be better to show the standard oblique one- sided arrow when you put the mouse on status line file2. 3) Or, don't allow any windows to be resized when the command-line window is open. I'd prefer symmetry. Though I still don't follow why both can't be resizable, I'd rather no windows be resizable than only some of them. I have another problem in the case of Windows distribution with the default _vimrc. After having typed the same commands as above, I could not find a way to copy the text selected by dragging the mouse in file1 or file2 to the command line window. Center-click does work neither CTRL-C/CTRL-V. :help modeless-selection ~Matt -- 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
Re: Impossible to resize windows with mouse when command line opened
On Feb 26, 10:29 pm, Bram Moolenaar b...@moolenaar.net wrote: That is the expected behavior. When you are at the command line the text above it may scroll up, it may even scroll off-screen. The window layout isn't available then. Hi Bram, I realized that after posting. However, perhaps these ugly black lines appearing when you try to move the status line with the mouse could be suppressed. Thank you, Bram, for this nice code. Regards, Jean Johner -- 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
Impossible to resize windows with mouse when command line opened
Hello, Please do the following: gvim file1 :sp file2 q: Now try to resize with the mouse the separation between file1 and file2. Best regards. Jean Johner -- 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