edit.py

jcmwave.edit(file_name=None, line=1, col=1, set_status=None, hint='')

Starts JCMcontrol in the editor mode.

Parameters:
  • file_name (str) – Path to a JCMwave file.
  • line (int) – Jumps to the line number within the file.
  • col (int) – Jumps to the column number within the file.
  • set_status (str) – (None|”on”|”off”) When using jcmwave.geo() or jcmwave.solve() the JCMwave editor pops up automatically, if an error was detected in one of the JCMwave input files (not in daemon mode). With set_status this behaviour can be switched on or off.
  • hint (str) – Show hint string in the editor.