Re: [code] [textadept] How to setup textadept to compile ConTeXt on Windows10x64? / TA strange behaviour

From: cryo shock <axteffekt.att.gmail.com>
Date: Sat, 25 Feb 2017 21:30:06 +0100

yes.
my init.lua sysdrive/users is empty. init.lua in the TA folder looks like
this:

package.path = table.concat({
  _USERHOME..'/?.lua',
  _USERHOME..'/modules/?.lua', _USERHOME..'/modules/?/init.lua',
  _HOME..'/modules/?.lua', _HOME..'/modules/?/init.lua',
  package.path
}, ';');
local so = not WIN32 and '/?.so' or '/?.dll'
package.cpath = table.concat({
  _USERHOME..so, _USERHOME..'/modules'..so, _HOME..'/modules'..so,
package.cpath
}, ';')
textadept = require('textadept')
local user_init = _USERHOME..'/init.lua'
if lfs.attributes(user_init) then dofile(user_init) end
ui.set_theme('base16-greenscreen-dark', {font = 'Monospace', fontsize = 10})
events.connect(events.KEYPRESS, function(code)
 ui.statusbar_text = code
end)
keys['\223'] = function() buffer:add_text('\\') end

2017-02-25 21:03 GMT+01:00 Carl Sturtivant <sturtivant.att.gmail.com>:

> Is that where you put the KEYPRESS event code? I say that because we know
> that ran.
>
> On 2/25/2017 1:56 PM, cryo shock wrote:
>
>> Yes I did. I also added the line to both, main directory as well as
>> sysdrive/users.
>>
>
>
> --
> 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.
>
>

-- 
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 Sat 25 Feb 2017 - 15:30:06 EST

This archive was generated by hypermail 2.2.0 : Sun 26 Feb 2017 - 06:27:26 EST