Add a snippet to GridEditor help text explaining that we're using escaped strings.
This commit is contained in:
parent
87463049f1
commit
38ddbcc314
|
@ -34,6 +34,14 @@ def _mkhelp():
|
||||||
("enter", "edit field"),
|
("enter", "edit field"),
|
||||||
]
|
]
|
||||||
text.extend(common.format_keyvals(keys, key="key", val="text", indent=4))
|
text.extend(common.format_keyvals(keys, key="key", val="text", indent=4))
|
||||||
|
text.append(
|
||||||
|
urwid.Text(
|
||||||
|
[
|
||||||
|
"\n",
|
||||||
|
("text", " Values are displayed and edited as escaped Python-style strings.\n"),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
)
|
||||||
return text
|
return text
|
||||||
help_context = _mkhelp()
|
help_context = _mkhelp()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue