[Gmsh] windows 7 text editor

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Aug 23 15:01:29 CEST 2016


> On 23 Aug 2016, at 14:44, Mark Smith <piedycat at yahoo.com> wrote:
> 
> Hi,
> I set the text editor in gmsh_options to
> General.TextEditor = """C:\Program Files (x86)\Notepad++\notepad++.exe" %s"; // System command to launch a text editor
> 
> Then when I launch gmsh it shows in tools>general>advanced    notepad.exe %s in the text editor command,
> it completely ignores the setting in the gmsh_options file?
> the location of gmsh_options is C:\Users\....\AppData\Roaming/gmsh-options as reported from "show file path"
> What is wrong?

Not sure; but the double quotes will clearly upset the parser. Could you try changing the setting in the GUI (Tools->Options->Advanced) with

'C:\Program Files (x86)\Notepad++\notepad++.exe' %s

(note the single quotes around the executable), then File->Save options as default?

> 
> If you hit restore all options to default settings where are the settings obtained from is there a default_options file somewhere & if so where?

Restore all options actually deletes that file.

Christophe


> 
> Thanks in advance
> mark
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list