[code][Textadept] Unable to modify context_menu

From: Franck Guadagnini <franckguadagnini.att.me.com>
Date: Sun, 06 Aug 2017 09:12:20 +0200


Where should I put code to modify context_menu?
textadept.menu.context_menu[#textadept.menu.context_menu + 1] = {…}
works from the command entry, but if set in any of my config files, I get at Textadept's start the error "attempt to get length of a nil value (field 'context_menu')".

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 Sun 06 Aug 2017 - 03:12:20 EDT

This archive was generated by hypermail 2.2.0 : Sun 06 Aug 2017 - 06:53:26 EDT