[Ipe-discuss] External editor problem (win)

Otfried Cheong otfried at ipe.airpost.net
Fri Jun 10 19:55:55 CEST 2016


Indeed, there's a bug.  You can fix it yourself, in the file
"tools.lua", the first function (externalEditor) contains the line:

fname = prefs.editable_textfile()

Remove the parentheses at the end so that it reads like this:

fname = prefs.editable_textfile

I'll fix it in the next release.

Cheers, 
 Otfried
On Fri, Jun 10, 2016, at 15:42, Jerzy Wrobel wrote:
> Dear All,
> The following settings:
> ...
> -- External editor for editing text objects
> -- must contain '%s' for the temporary filename
> -- set this to nil to hide the "Editor" button on text dialogs
> if os.getenv("EDITOR") then
>   prefs.external_editor = os.getenv("EDITOR") .. " %s"
> else
>      prefs.external_editor = "c:/octave/npp/notepad++ %s"
>   -- prefs.external_editor = "pluma %s"
>   -- prefs.external_editor = "emacsclient %s"
>   -- prefs.external_editor = nil
> end
> 
> -- The name of the temporary textfile where Ipe will store text to be
> -- edited with an external editor.  If set to nil, the Lua function
> -- os.tmpname() will be used to create a unique name.
> if config.platform == "win" then
>   prefs.editable_textfile = config.latexdir .. "/temp.txt"
> else
>   prefs.editable_textfile = nil
> end
> ...
> worked well up to ver 7.1.9. However, ipe 7.2.* crashes
> when Editor button is pressed (win 10). Did I miss something?
> Thank you,
> Jerzy
> 
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss


More information about the Ipe-discuss mailing list