Closed Alexey-T closed 10 years ago
If you want to use this formatter, copy the functions end with _rules
, and run as process_rules(code, action)
.
Better have READY module. just import it, and call function... so i don't need to copy/paste any funcs.
OK, I made a module, you can just import it.
hi.
css_format.py
file. It's bad that all stuff is in ONE file, together with ST stuff/crap. I don't need ST stuff, but want to user ur formatter in py program.So can u make a module, with 3 functions (expand, compact, compress), or maybe one function
compress(text, mode)
with argumentmode
(3 values). Would be good.