[code] [textadept] Menu questions

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 31 Oct 2013 12:47:10 +0100

Hi Mitchell,

nothing urgent, but I noticed that on OS X (10.9 Mavericks) the short
cuts for Escape and Delete (Backspace) are no longer shown. This appears
to have changed after 6.5, so 6.6 beta does not show them anymore. There
were lots of changes related to OS X, so this is probably related. There
appears to have been a switch to a new GTK-OSX version before 6.6 beta
so maybe this is a GTK-OSX issue.

Around the same time[1] menu.menubar was made 'private'. Maybe this
could be reversed?

I was trying to create an additional menu, which would then be possible

local menu = require 'textadept.menu'

local extramenu = {
   title = '_Extras',
     {'_Extra menu',
     {ui.dialogs.msgbox, {title = 'Extra menu'}}},

table.insert(menu.menubar, #menu.menubar, extramenu)


[1] http://foicica.com/hg/textadept/rev/3c630e442848

You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 31 Oct 2013 - 07:47:10 EDT

This archive was generated by hypermail 2.2.0 : Fri 01 Nov 2013 - 06:28:15 EDT