On 4/27/07, Jelle de Jong jelledejong@powercraft.nl wrote:
Enrico Tröger wrote:
He wants to switch the tab width with a shortcut between 4 and 8. I don't know exactly but I guess because he uses different source code files and some are with a tab width of 4 and some with 8. In general, it should't be a problem as long as all indentation is done with tabs.
Exactly, i cot a lot of mixed files with tab with 8 and 4 using a short cut to switch makes my live easier! In my situation it is not possible to just change every file to have the same tab with with a script. So a fast short cut will be ideal.
Sounds like a good solution might be to add a button to the toolbar that aliases the Edit --> Prefs --> Files tab --> New Files: "Tab Width" control.
---John