The patch realizes a "manage / unmanage in stead of
destroy / create" user menu items idea. This patch
improves performance of updating user menus
(i.e. shell, macro, background menu) when
switching between tabbed documents of different
language modes.
Main idea is not to destroy any user menu item
widget as long as they are *not* changed via
"Preference->Default Settings->Customize Menu..".
Reason: destroy / create of widgets consumes
a lot of time.
In stead of destroying / creating of that menu item
widgets they are simply unmanaged / managed
(that's much faster).
For more details have a look into "FEATURE.txt"
file (available in attached tarball). Some
hints to apply this patch can be found in
"README.txt" (available in tarball, too).
This patch was made against
"nedit-latest-sources-HEAD.tar.gz"
source tar ball of 04-Feb-2004
(available at http://nedit.sourceforge.net/snapshot/\).
This patch runs since some days within following
configuration:
Built on: Solaris, Sparc, GNU C
With Motif: 1.2.6 [@(#)OSF/Motif Version 1.2.6]
Running Motif: 1.2 [@(#)OSF/Motif Version 1.2.6]
Server: Sun Microsystems, Inc. 6410
and
Built on: Linux, 386, GNU C (Red Hat 9)
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40300000
Logged In: YES
user_id=73597
In CVS. Closed.