[Ipe-discuss] Shortcut for "Front" doesn't work

Otfried Cheong otfried at ipe.airpost.net
Sat Sep 12 12:20:26 CEST 2015


In case it wasn't clear, you can fix this problem yourself - no
compilation required.  Just find the directory containing "main.lua"
(Ipe -> Help -> Show configuration -> Lua code), and replace the file
"main.lua" by the attached one.

Cheers,
 Otfried

On Sat, Sep 12, 2015, at 10:42, Otfried Cheong wrote:
> In "main.lua", find the line:
> 
>   if s:sub(1,1) == "F" and tonumber(s:sub(2)) then
> 
> and change it to:
> 
>   if s ~= "F" and s:sub(1,1) == "F" and tonumber(s:sub(2)) then
> 
> (The line handles shortcuts for function keys, but accidentally also
> matched F, Ctrl+F, etc.)
> 
> Cheers,
>  Otfried
> 
> 
> On Sat, Sep 12, 2015, at 01:00, Dirk Gerrits wrote:
> > For what it's worth, I have the same problem.  My workaround was
> > reverting
> > back to Ipe 7.1.7, but that's of course not ideal.
> > 
> > - Dirk
> > 
> > On Wed, Sep 9, 2015 at 10:56 AM, Ernest Menville
> > <menville.ernest at gmail.com>
> > wrote:
> > 
> > > Hi,
> > >
> > > I noticed that in IPE 7.1.8. (Win) the shortcut ctrl+f isn't working
> > > anymore. I changed the shortcut in shortcuts.lua, but same problem. Does
> > > anybody know any solution/workaround for this?
> > >
> > > The function itself works fine if I choose it from the menu (Edit ->
> > > Front). Also ctrl+b for "Back" works as intended.
> > >
> > > Cheers,
> > > Ernest
> > >
> > >
> > >
> > > _______________________________________________
> > > Ipe-discuss mailing list
> > > Ipe-discuss at lists.science.uu.nl
> > > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
> > >
> > >
> > _______________________________________________
> > Ipe-discuss mailing list
> > Ipe-discuss at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.lua
Type: text/x-lua
Size: 11473 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20150912/4563bcbf/attachment.bin 


More information about the Ipe-discuss mailing list