PDA

View Full Version : universalindentgui seg faults


Dooley
February 23rd, 2009, 08:21 AM
Has anyone tried the fantastic sounding univeralindentgui?

I'm using 8.10 and installed it from the repos, but seg faults after it creates a few config directories.

I also tried the sourceforge deb and had no luck with that either.

Anyone have a work-around or solution, would be much appreciated.

Dooley

Dooley
February 26th, 2009, 08:08 AM
Does anyone have any idea or has gotten this working?

My terrible looking code would be much appreciated. :p

Vadi
February 26th, 2009, 09:50 AM
Yes, 8.10's version crashes. There is some other one (maybe in 9.04) that works, I don't remember.

The I found the "indent" program better suited anyway as it could be used within Geany as a keybinding. No need to go to an external app.

Dooley
March 2nd, 2009, 10:20 AM
Any chance there's an alternative of indent for php scripts?

Vadi
March 2nd, 2009, 11:32 AM
Try this random python script of the day: http://indentphp.googlecode.com/svn/trunk/indentphp.g

Dooley
March 2nd, 2009, 11:56 AM
Cheers,
That might do the job. Also I discovered this neat little trick on the interwebs for vim users.

:source $VIMRUNTIME/indent/whateverlanguage.vim
So for php it's
:source $VIMRUNTIME/indent/php.vim
then press
gg=G
to auto-indent the whole file or use visual mode to highlight what you want tabbed then press =