[code] Re: Re: Re: [textadept] Changing drive in textredux

From: Thorsten Kampe <thorsten.att.thorstenkampe.de>
Date: Mon, 28 Dec 2015 12:57:24 +0100

* Robert Gieseke (Mon, 28 Dec 2015 12:10:13 +0100)
> Am 23/12/15 um 21:14 schrieb Thorsten Kampe:
> > * Robert Gieseke (Wed, 23 Dec 2015 20:53:40 +0100)
> >> You could try something like
> >>
> >> keys.c1 = function() textredux.fs.open_file("D:") end
> >
> > Hm, "attempt to index a nil value (global 'textredux')"...
>
> this needs to go after
>
> local textredux = require('textredux')
>
> in `init.lua`.

Yes, I've done that:
```
-- MODULES --
-- https://github.com/rgieseke/textredux
events.connect(events.INITIALIZED,
               function()
                   require('textredux').hijack()
               end)

keys.c1 = function() textredux.fs.open_file("C:") end
```

Still the same error...

Thorsten

-- 
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 Mon 28 Dec 2015 - 06:57:24 EST

This archive was generated by hypermail 2.2.0 : Tue 29 Dec 2015 - 06:53:07 EST