/usr/lib/python2.7/dist-packages/PythonCard/tools/textEditor/scriptlets/unorderedList.py is in python-pythoncard 0.8.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | # inserts "\t* " before each line in the selection
text = bg.components.fldDocument.getStringSelection()
unorderedList = ""
for i in text.splitlines(1):
unorderedList += "\t* " + i
bg.components.fldDocument.replaceSelection(unorderedList)
|