EditPad Pro Syntax Coloring Scheme for Ren'Py

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
AXYPB
Regular
Posts: 95
Joined: Thu Sep 04, 2014 3:04 am
Github: AXYPB
Contact:

EditPad Pro Syntax Coloring Scheme for Ren'Py

#1 Post by AXYPB » Sat Feb 27, 2016 3:38 am

I created a custom syntax coloring scheme for EditPad Pro 7, based on the built-in Python file type configuration. This color scheme adds definitions for Ren'Py reserved words, style properties, ATL statements, and pre-defined transitions and transforms.

To import it, copy this text to an .INI file and import it in the Configure File Types dialog:

Code: Select all

[EditPadFileTypes]
Version=7
Count=1

[FT0]
ID=1003545424
Description=Ren'Py file
FileMasks=*.rpy
MagicRegex=
DefaultDataFormat=utf8
WriteBOM=1
PreserveBOM=1
DefaultLineBreakStyle=CRLF
DetectUnicode=1
DetectASCII=0
DetectBinary=0
HexMode=0
RecordSize=0
HexSections=0
TextLayout=0
TextLayoutToggleRTL=5
AutoIndent=1
NumberLines=1
PhysicalLines=1
WordWrap=0
WordWrapIndent=1
WrapPos=0
TabSize=4
UseTabChars=0
BlockIndent=4
NumberColumns=1
ColumnMarkers=
TabStops=
ShowSpaces=0
ShowLineBreaks=0
Palette=Default
SyntaxParser=CSCS
CSCSFile=RenPy.jgcscs
SyntaxParserHuge=None
MatchBracketsTouch=1
MatchBracketsInner=1
LiveSpell=0
FNSFile=Python.jgfns
AutoFolding=3
ClipCollection=
KeywordHelp=http://www.renpy.org/doc/html/
After importing the INI file, select the Colors and Syntax tab, click the Download button and select the Ren'Py color scheme. Upon opening an .RPY file, EditPad Pro will be configured to use this color scheme, assume the file is UTF-8, and show the row and column rulers.

If you require support for Asian characters, change the default font. In the Editor Options tab, click the Edit button next to the Default text layout box. In the Text Layout Configuration window, select the Monospaced left-to-right option and change the Main font from Consolas to an appropriate font for your language. For Japanese text, I recommend MS Gothic.

If you find any issues with the syntax highlighting, please inform me here.

Post Reply

Who is online

Users browsing this forum: No registered users