When I'm debugging, I don't actually find my desktop being littered with identical windows helpful, but if it serves a purpose let the developer choose.
This is currently my largest annoyance during development. If I knew how Ren'Py manages its own preferences I would have replaced the argument with a variable and patched opts.rpy myself by now.
As it is, I'm hacking jEdit.Editor.py as follows:
Code: Select all
# Name: jEdit
# Version: 1
# Description: jEdit requires Java be installed on your computer.
import os
import os.path
import sys
editor = os.path.normpath(base + "/../jedit/jedit.jar")
editor = renpy.shell_escape(editor)
editor_exec = 'javaw.exe' if (sys.platform == 'win32') else 'java'
config.editor = editor_exec + ' -jar "' + editor + '" -reuseview "%(filename)s" +line:%(line)d "%(otherfiles)s"'
#config.editor_transient = editor_exec + ' -ar "' + editor + '" -newplainview "%(filename)s" +line:%(line)d "%(otherfiles)s"'
config.editor_transient = config.editor