parent
c9cabb3666
commit
5b52c7eceb
5 changed files with 39 additions and 37 deletions
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
import colout
|
||||
def theme( item ):
|
||||
def theme():
|
||||
p="([rwxs-])"
|
||||
reg="^([d-])"+p*9+"\s.*$"
|
||||
colors="blue"+",green"*3+",yellow"*3+",red"*3
|
||||
styles="normal"+ ",normal,italic,bold"*3
|
||||
return colout.colorup( item, reg, colors, styles, True)
|
||||
return [ [reg, colors, styles] ]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue