Xavier de Gaye wrote: > This unused two characters-wide sign column wastes space, take for example a > screen that is vertically splitted to show multiple buffers. The attached > patch fixes this. > > For reference, a link to the pyclewn issue tracker that raised the issue: > https://bitbucket.org/xdegaye/pyclewn/issue/7 > > Patch side effects on a debugger using netbeans: > * When browsing the source code with this patch, the presence of a sign column > tells you that either a breakpoint or the frame sign is set in this buffer, > even when you don't see the sign itself. This is a useful indication (lost > when all windows have a sign column). > > * The command 'step' or 'next' causes the sign column to disappear and a > reappear rapidly when there are no breakpoints and causes all the lines to > be shifted rapidly left and right. For example at a sleep() statement the > sign column disappears for the duration of the sleep. This may be > considered annoying and may be the reason why netbeans currently forces the > sign column in all the windows. > > About the patch: > A two characters wide space at the start of the command line is not accessible > after netbeans has set the first sign and remains inaccessible even after > ':nbclose'. This minor problem already exists currently and is not fixed by > the patch. > > For backward compatibility we could use an option to choose between the two > behaviors, I don't know which option, maybe an option in the nbstart command > as in :{hostname}:{addr}:{password}:{sign column} or a netbeans command or an > existing Vim option ?
It's not nice to add yet another options. And this behavior was there for a reason. Probably because we don't want the column to appear and disappear when signs are added and removed. How about this: Add a per-buffer flag that gets set if the b_signlist is not empty. Then the sign column would only show after the first sign was displayed while netbeans is active. Would that work? -- Not too long ago, cut and paste was done with scissors and glue... /// Bram Moolenaar -- [email protected] -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
