|
9.
|
|
|
The edit.py file should import renpy.editor, and the Editor class should inherit from renpy.editor.Editor. As additional keyword arguments may be added to methods, each method you define should ignore unknown keyword arguments. Since you're expected to define your own Editor subclass, we present the methods with the `self` parameter.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/editor.rst:45
|
|
10.
|
|
|
Starts an editor transaction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/editor.rst:55
|
|
11.
|
|
|
If `new_window` is true, the editor should attempt to open a new window. Otherwise, it should attempt to perform the transaction in an existing editor window.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/editor.rst:57
|
|
12.
|
|
|
Ends a transaction.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/editor.rst:63
|
|
13.
|
|
|
Opens a `filename` in the editor.
|
|
|
|
Abre un `nombre de archivo` en el editor.
|
|
Translated and reviewed by
Daniel R
|
|
|
|
Located in
../../source/editor.rst:67
|
|
14.
|
|
|
If `line` is not None, attempts to position the editing cursor at `line`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/editor.rst:69
|