Hi folks,

Attached are three patches that do almost the same. Allow to display
existing instances of Vim in submenu.

The difference is how you can configure it.

p2 - By default shows the existing Vims in submenu. This can be
changed to the current flat by adding registry entry
HKLM\Software\Vim\Gvim\FlatEditWithExisting

p1 - By default shows the existing Vims like now - flat. This can be
changed to submenu by adding registry entry
HKLM\Software\Vim\Gvim\EditWithExistingAsSubmenu

p0 - Removes registry entry
HKLM\Software\Vim\Gvim\DisableEditWithExisting and combines it with
new DWORD entry HKLM\Software\Vim\Gvim\DisableEditWithExisting that
drives behaviour of Edit with existing Vim.
   Value 0 disables the Edit with existing Vim item.
   Value 1 displays flat (current) Edit with existing Vim
   Value 2 displays submenu for Edit with existing Vim - Default, can
be changed in gvimext.h



I prefer solution p0 as it looks the most logically to me. But I
understand that this can "break" current behaviour of menu for users
that already disabled Edit with existing Vim.


Don't hesitate to send any comment.

Thank you


JiriS


P.S. Are VIm coding standards published anywhere?

-- 
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

Attachment: patches.tgz
Description: GNU Zip compressed data

Raspunde prin e-mail lui