Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cc3d/player5/UI/CC3DSender.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def startEditor(self):
twedit_process = Popen(popen_args)


print("\n\n\n\n\STARTED TWEDIT++\n\n\n\n\n")
print(r"\n\n\n\n\STARTED TWEDIT++\n\n\n\n\n")


def serverHasError(self, error):
Expand Down
8 changes: 4 additions & 4 deletions cc3d/player5/styles/SyntaxHighligher.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ class PythonHighlighter(QSyntaxHighlighter):
# Comparison
'==', '!=', '<', '<=', '>', '>=',
# Arithmetic
'\+', '-', '\*', '/', '//', '\%', '\*\*',
r'\+', '-', r'\*', '/', '//', r'\%', r'\*\*',
# In-place
'\+=', '-=', '\*=', '/=', '\%=',
r'\+=', '-=', r'\*=', '/=', r'\%=',
# Bitwise
'\^', '\|', '\&', '\~', '>>', '<<',
r'\^', r'\|', r'\&', r'\~', '>>', '<<',
]

# Python braces
braces = [
'\{', '\}', '\(', '\)', '\[', '\]',
r'\{', r'\}', r'\(', r'\)', r'\[', r'\]',
]

def __init__(self, document):
Expand Down