Martin schrieb:
On 01/07/2011 17:58, Hans-Peter Diettrich wrote:
Martin schrieb:


The display disabled menu entry, instead of display none makes sense.

Hm, on further thought. displaying source-editors to which you can not move/clone as "disabled" menu entry, brings up a few questions.

- Should the current window also be shown? (Since it is not "other" I would not show it.

It would remove a current optimization:

If a file already has an editor in every window, then they would have to be all listed as disabled.

The menu entries also could be marked in a way, that allows to determine whether a clone already exists there (not need to create a new one), or not (will result in creation of a new clone). Then every menu entry can be kept enabled, with only slightly different semantics.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to