This commit is contained in:
Kovid Goyal 2021-04-24 19:22:12 +05:30
parent 1bb5f088f9
commit 55246df4c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,7 @@ translate_table = str.maketrans({
'\\': '\\\\',
})
class TemplateDialog(QDialog, Ui_TemplateDialog):
def __init__(self, parent, text, mi=None, fm=None, color_field=None,

View File

@ -1075,6 +1075,7 @@ class _Interpreter(object):
'tab': '\t',
'backslash': '\\',
}
def do_node_character(self, prog):
try:
key = self.expr(prog.expression)