Editra + Ren'Py

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
SleepKirby
Veteran
Posts: 255
Joined: Mon Aug 09, 2010 10:02 pm
Projects: Eastern Starlight Romance, Touhou Mecha
Organization: Dai-Sukima Dan
Location: California, USA
Contact:

Re: Editra + Ren'Py

#16 Post 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... >_>;

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra + Ren'Py

#17 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
SleepKirby
Veteran
Posts: 255
Joined: Mon Aug 09, 2010 10:02 pm
Projects: Eastern Starlight Romance, Touhou Mecha
Organization: Dai-Sukima Dan
Location: California, USA
Contact:

Re: Editra + Ren'Py

#18 Post 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. >_>;

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra + Ren'Py

#19 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Editra + Ren'Py

#20 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra + Ren'Py

#21 Post by PyTom »

Nothing - the mistake was on my end.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Editra + Ren'Py

#22 Post 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...))

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Editra + Ren'Py

#23 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra + Ren'Py

#24 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Editra + Ren'Py

#25 Post 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.

duanemoody
Regular
Posts: 100
Joined: Fri Oct 02, 2009 2:32 pm
Projects: American Jurassic
Organization: Pier 7 Media
Location: Arizona
Contact:

Re: Editra + Ren'Py

#26 Post 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?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Editra + Ren'Py

#27 Post by PyTom »

Json is now included as part of Ren'Py 6.14. So I'm not sure how it's code crashing.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Hseo
Regular
Posts: 38
Joined: Thu Sep 24, 2009 10:42 am
Completed: High School Life:HSL
Deviantart: greeeed
Contact:

Re: Editra + Ren'Py

#28 Post by Hseo »

Can't download it with Ren'Py update T_T.

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

Post Reply

Who is online

Users browsing this forum: No registered users