Hi Gene, thank you for your reply, also if my post was meant to be only an exercise to apply color to lfs and expanded tabs in listing files and not to apply it to an editor. However your comment has directed me to consider more deeply other editors (I use kwrite). I am inclined to change to vim but I haven't found the vim module for python. By the way I'm not sure that vim can display lfs and expanded tabs in color! Bye.
-- http://mail.python.org/mailman/listinfo/python-list