On Wed, 27 Sep 2006, Ethan Winn wrote:
> Actually, I debugged a bit and this expression is really better:
>
> autocmd FileType xdebug set
> foldexpr=strlen(substitute(substitute(substitute(getline(v:lnum),'\\s>=>','->',\"g\"),'^.\\{21\\}\\(\\s\\+\\)\\?->.*$','\\1',''),'\\s\\s','\
> ',\"g\"))
Thanks! I added this as part of my trace file colorization script
(xt.vim) in the Xdebug repository with some small changes.
regards,
Derick
-- Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Mon Oct 02 2006 - 20:23:00 BST