[gedit-list] Tabulation per file type



Hi.

I'm creating a gedit plugin. I want to define tabulation based on file type.

* html = 1 tab
* css = 1 tab
* python = 4 spaces
* ruby = 2 spaces

....

My doubt is: how can I intercept tab adding event?

--
Nando Vieira
bloggin' @ http://simplesideias.com.br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]