[ nedit-Bugs-1668273 ] One more key binding bug

SourceForge.net noreply at sourceforge.net
Thu Jun 14 22:05:59 CEST 2007


Bugs item #1668273, was opened at 2007-02-25 09:59
Message generated for change (Comment added) made by jf505
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1668273&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: One more key binding bug

Initial Comment:
Hi,
I found in-equivalence of accelerators in Macro and Background Menus.

Define simple macro

define key_binding_test {
   insert_string("test")
}

a) Make Macro Menu item `test' and bind key_binding_test() to Alt+u.
   Press Alt+u
   String `test' is inserted in buffer.	All is OK!
   Delete the accelerator in Macro Menu and add it to Xresources

nedit*text.Translations: #override \n\
Alt<Key>u:macro_menu_command("test")\n\

	......
	Press Alt+u - String `test' is inserted in buffer.	All is OK!
	
	
b) Delete the entry `test' from Macro Menu and remove Alt+u from Xresources.
   Make Background Menu item `test' and bind key_binding_test() to Alt+u.
   Press Alt+u
   String `testu' is inserted in buffer. THIS IS A BUG!
   Delete the accelerator in Background Menu and add it to Xresources

nedit*text.Translations: #override \n\
Alt<Key>u:dg_menu_command("test")\n\

	......
	Press Alt+u - String `test' is inserted in buffer.	All is OK!

5.6 [Under Development] HEAD
Feb 8, 2007

     Built on: Linux, 486, GNU C
     Built at: Feb  8 2007, 18:45:51
   With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
       Server: The X.Org Foundation 70000000
       Visual: 24-bit TrueColor (ID 0x23, Default)
       Locale: C


----------------------------------------------------------------------

Comment By: Joerg Fischer (jf505)
Date: 2007-06-14 20:05

Message:
Logged In: YES 
user_id=918104
Originator: NO

Accelerators in the window background menu can't work, since the menu is
not shown. This is merely a documentation bug. While the same dialog box is
used for the macro and window background menus, this accelerator thing
should be mentioned under "Customizing Menus". 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1668273&group_id=11005


More information about the Develop mailing list