Re: Qt: Tab stop width very big (active_path.py, c++ files)

2009-03-01 Thread Ville M. Vainio
On Fri, Feb 20, 2009 at 6:52 PM, Ville M. Vainio vivai...@gmail.com wrote: I imported some files that use tabs for indentation with active_path plugin. I noted that the tab size was huge. QTextEdit has a way to specify tab stop width in pixels. I ran this and tabs were sane again:

Qt: Tab stop width very big (active_path.py, c++ files)

2009-02-20 Thread Ville M. Vainio
I imported some files that use tabs for indentation with active_path plugin. I noted that the tab size was huge. QTextEdit has a way to specify tab stop width in pixels. I ran this and tabs were sane again: c.frame.top.ui.richTextEdit.setTabStopWidth(20) Note that it's probably a *good* idea

Re: Qt: Tab stop width very big (active_path.py, c++ files)

2009-02-20 Thread Edward K. Ream
On Fri, Feb 20, 2009 at 10:52 AM, Ville M. Vainio vivai...@gmail.comwrote: I ran this and tabs were sane again: c.frame.top.ui.richTextEdit.setTabStopWidth(20) Note that it's probably a *good* idea to specify tab stop width that is not exactly 4/8 spaces. That way, mixed spaces and tabs