Logo Search packages:      
Sourcecode: pythoncard version File versions

unorderedList.py

# inserts "\t* " before each line in the selection
text = bg.components.document.GetSelectedText()
unorderedList = ""
for i in text.splitlines(1):
    unorderedList += "\t* " + i

bg.components.document.ReplaceSelection(unorderedList)

Generated by  Doxygen 1.6.0   Back to index