Page 1 of 1

Need a new Font property

Posted: 09 Nov 2006 17:32
by jacky
I think it'd be really cool if we could have another "font property", that would be used pretty much in all text/dropdown that allow to enter regexp (eg VF, Goto, RegExp Rename, FF: Name, etc)

Actually, the dream would be that this font would only be used when using RegExp mode (">"). The main point is, it's really a pain to make a regexp with another font than a fixedsys or courrier type, cause you can't see/work easilly with this kinda stuff: (.{1})(.+?)\..+
And that's a problem, when you need to work with regexp.

Posted: 09 Nov 2006 18:50
by j_c_hallgren
Even though I don't use RegEx here, I can understand your problem! I've used them in a bit of Perl code and yes, a different/fixed font helps, but I'm not sure how/if one could switch font usage on the fly as you type...

If this needs to be done more globally, I'd like it to be user selectable as it may not be desirable by some of us who don't have the issue.

Posted: 10 Nov 2006 10:54
by lukescammell
So basically you want it to enable a fixed width font just for regex, but not for anything else? I like this idea :)

Posted: 10 Nov 2006 20:28
by jacky
lukescammell wrote:So basically you want it to enable a fixed width font just for regex, but not for anything else? I like this idea :)
That'd be the best yeah, it's really needed IMHO when you work with regexp. Pretty much all soft that deals with regexp use a fixed width font aswell, cause if not it's almost impossible too really see what's going on.

Posted: 13 Nov 2006 09:48
by admin
Done! 8)