Well, I use the following one - it's not perfect but works well enough for me. Since I couldn't find a way to attach it as a file ("The extension txt is not allowed"), I have pasted it below:
- Code: Select all
OLD version deleted - check below for new, correct version
Best regards,
Tim
P.S.: One thing that bugs me is that ":" will cause indentation even it occurs within a slice. I (and several other people) have asked IDM to create a configuration option that an indent string should only work if it's the last thing on the line (except for whitespace and comments). This would require indent strings to allow regexes like
:[ \t]*($|#.*$), but so far no luck. Maybe if some more people ask IDM (
support@idmcomp.com) for this feature, it will get bumped up on the wish list...so please chime in if you at all agree that that would be a good idea. If it works for function strings, why not for indent strings. (Why not for the entire wordfile, come to that. Other editors can do it, too).