JEdit doesn't like Syntax Highlighting [SOLVED]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Sondre
Newbie
Posts: 18
Joined: Wed Dec 02, 2015 6:16 am
Projects: There's a Dinosaur in my Bed (working title)
Contact:

JEdit doesn't like Syntax Highlighting [SOLVED]

#1 Post by Sondre »

Hello! I recently bought a new laptop and when trying to open one of my projects with JEdit,
my scripts were completely black excepting some vertical white lines scattered around.

Changing the colour of the text in Global Options inside JEdit makes it readable.
However, any colour changes made in the Syntax Highlighting section don't seem to take effect.
It seems I am stuck with all text being the same colour.

I have tried manually downloading and installing JEdit but to no avail.
I have the latest version of Renpy and Java installed.

Any help is greatly appreciated!
Last edited by Sondre on Tue Aug 29, 2017 9:40 am, edited 1 time in total.

User avatar
Kia
Eileen-Class Veteran
Posts: 1039
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: JEdit doesn't like Syntax Highlighting

#2 Post by Kia »

I never worked with Jedit but I guess like notepad++ you need to assign a language to the file extensions to enable syntax highlight. in this case Jedit just don't know what language .rpy files are written in, to highlight the syntax.
find language menu and try python

User avatar
Sondre
Newbie
Posts: 18
Joined: Wed Dec 02, 2015 6:16 am
Projects: There's a Dinosaur in my Bed (working title)
Contact:

Re: JEdit doesn't like Syntax Highlighting

#3 Post by Sondre »

Ah yes, this solved it. I had to assign Python as the language by going to Buffer Options -> Edit Mode and selecting python.
Thank you, Kia!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Kocker, ZianRiyone