Page 2 of 2

Re: Editra + Ren'Py

Posted: Mon Apr 16, 2012 9:40 pm
by SleepKirby
So uh... I randomly tried Editra again today, and .rpy syntax highlighting is working! I haven't touched any of the Editra settings since I last tried. And yes, now I see a Ren'Py / .rpy entry under Filetype Associations.

Problem solved for me, I guess; though I hate it when things mysteriously work or don't work... >_>;

Re: Editra + Ren'Py

Posted: Wed Apr 18, 2012 10:41 pm
by PyTom
Since people seem to be using it, I just posted up a new Editra:

http://www.renpy.org/dl/editra/

This new version includes a lot of little improvements, which I've made as I've been using it. (I now have Editra associated with .rpy files, rather than Eclipse.) It also includes an Editra.edit.py file that allows it to be used with the Ren'Py launcher.

Re: Editra + Ren'Py

Posted: Thu Apr 19, 2012 2:42 pm
by SleepKirby
I just tried out the new version. Could you give a couple of examples of what was changed in this version? I can't notice any changes myself. >_>;

Re: Editra + Ren'Py

Posted: Fri Apr 20, 2012 12:05 am
by PyTom
The indentation rules changed slightly, in obscure cases like hitting enter while the cursor is already in indentation, or in a triple quoted string. We also look further back when syntax highlighting, which makes the highlighting better.

Re: Editra + Ren'Py

Posted: Fri Apr 20, 2012 10:08 am
by Alex
Downloaded and placed it in Ren'Py folder, then selected Editra as default editor, but when tried to edit script - I got error:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "launcher/editor.rpy", line 89, in script
  File "launcher/editor.rpy", line 117, in python
  File "launcher/editor.rpy", line 85, in python
ImportError: No module named json

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\execution.py", line 265, in run
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\ast.py", line 632, in execute
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\python.py", line 972, in py_exec_bytecode
  File "launcher/editor.rpy", line 117, in <module>
  File "launcher/editor.rpy", line 85, in setup_editor
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\editor.py", line 118, in init
  File "D:\renpy-6.6.0\renpy-6.13.0\Editra-win32\Editra.edit.py", line 9, in <module>
ImportError: No module named json

Windows-XP-5.1.2600-SP2
Ren'Py 6.13.11.1715
 
What have I done wrong?

Re: Editra + Ren'Py

Posted: Fri Apr 20, 2012 3:11 pm
by PyTom
Nothing - the mistake was on my end.

Re: Editra + Ren'Py

Posted: Fri Apr 20, 2012 4:06 pm
by Alex
Hm, also found that Editra arguing, when I use different indentation for blocks - 2 and 4 spaces (inside a block all lines are indented the same). Ooops, my fault - indentation was incorrect. Should sleep at night...))

Re: Editra + Ren'Py

Posted: Wed Jul 11, 2012 10:11 pm
by nyaatrap
I've tried editra but unfortunately, it's really bad for Japanese typing.
wxWidgets has a serious problem on IME input; it never accepts direct input from IME.

Re: Editra + Ren'Py

Posted: Thu Jul 12, 2012 5:21 pm
by PyTom
Really?

I'll add a mention of that to the editor selection screen. Editra and jEdit will both be supported in 6.14, with a screen to select the one you want to download and install.

Re: Editra + Ren'Py

Posted: Sat Jul 14, 2012 6:22 am
by nyaatrap
Yeah. this is how it looks while I'm typing something in japanese.
Image

In Windows OS, the input area is placed outside of the editor. But Mac OS has more serious problem. It can't accept any kind of inputs. That means mac users never write Japanese with Editra. Chinese must have the same problem.
This problem seems already reported to the developer, but it looks hard to fix.

Re: Editra + Ren'Py

Posted: Tue Jul 24, 2012 5:17 pm
by duanemoody
PyTom wrote:Really?

I'll add a mention of that to the editor selection screen. Editra and jEdit will both be supported in 6.14, with a screen to select the one you want to download and install.
Will the code-crashing JSON dependency be replaced with something else, considering only one line of code uses it?

Re: Editra + Ren'Py

Posted: Tue Jul 24, 2012 5:41 pm
by PyTom
Json is now included as part of Ren'Py 6.14. So I'm not sure how it's code crashing.

Re: Editra + Ren'Py

Posted: Wed Nov 07, 2012 4:35 pm
by Hseo
Can't download it with Ren'Py update T_T.

nvm>>> there was some problem with my internet connection.