-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
72 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[ | ||
{ "keys": ["ctrl+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["ctrl+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["ctrl+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[ | ||
{ "keys": ["super+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["super+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["super+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[ | ||
{ "keys": ["ctrl+i"], "command": "renpy_text_tag", "args": {"tag": "i"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["ctrl+b"], "command": "renpy_text_tag", "args": {"tag": "b"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] }, | ||
{ "keys": ["ctrl+u"], "command": "renpy_text_tag", "args": {"tag": "u"}, "context": [ | ||
{ "key": "selector", "operator": "equal", "operand": "source.python.renpy" } | ||
{ "key": "selector", "operator": "equal", "operand": "string.quoted" } | ||
] } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Python Indent Rules</string> | ||
<key>scope</key> | ||
<string>source.python.renpy</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>decreaseIndentPattern</key> | ||
<string>^\s*(elif|else|except|finally)\b.*:</string> | ||
<key>increaseIndentPattern</key> | ||
<string>.+?(?=:\s*$)</string> | ||
<key>disableIndentNextLinePattern</key> | ||
<string></string> | ||
<key>shellVariables</key> | ||
<array> | ||
<dict> | ||
<key>name</key> | ||
<string>TM_COMMENT_START</string> | ||
<key>value</key> | ||
<string># </string> | ||
</dict> | ||
<dict> | ||
<key>name</key> | ||
<string>TM_LINE_TERMINATOR</string> | ||
<key>value</key> | ||
<string>:</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
Indent doesn't work properly for "python:", as it's in the | ||
source.python context, rather than the source.renpy context. | ||
|
||
- ground inside imagemaps isn't orange like xpos and stuff | ||
- the "# The two window variant." comment in say screen has window variant in pink | ||
- Comments are the same color as all text apart from keywords, I think it's nice if comments have different colors though(Maybe just because I'm used to it since the other editors I use have it like this and it was like this before?) | ||
- Strings are white just as everything else(they were dark yellow before I think?) | ||
- I believe numbers had a different color before? | ||
- If/else/for are white | ||
- input(eg in input screen) is white | ||
- init/style aren't working properly(see image) | ||
- init/style aren't working properly(see image) | ||
- parameters aren't highlighted within python blocks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Sublime Renpy v1.1.5 | ||
====================== | ||
|
||
Bugfixes: | ||
-ctrl+i, b and u hotkey are now overridden again | ||
-single-line Python statements now work as anticipated | ||
-python and init python blocks now indent properly | ||
|
||
Improvements: | ||
-the ctrl hotkey overrides now only occur within strings | ||
-added autocomplete for renpy.input within label context |