-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
J. Simon van der Walt wrote:
I've just been trying TextMate, trying to move away from TextEdit and TextWrangler. One thing which is really bugging me is the way it underlines hyperlinks on the 'Plain Text' setting. If I wanted that kind of behaviour I'd use Microsoft Word! Is there a way I can set it up so that plain text is exactly that, completely plain vanilla typing?
Thanks
Go to the Bundle Editor (Bundle -> Bundle Editor -> Show Bundle Editor) and open the Text Bundle (click on the triangle). Then to scroll down to the object "Plain Text" with a gray L in front of it. If you want to remove all markings then just delete everything. If you just want to remove the underlined links then delete the following:
{ begin = '^([ \t]*)(?=\S)'; end = '^(?!\1(?=\S))'; patterns = ( { name = 'markup.underline.link'; match = '(?x) ( (https?|s?ftp|ftps|file|smb|afp|nfs|(x-)?man|gopher|txmt)://|mailto:) [-:@a-zA-Z0-9_.,~%+/?=&#]+(?<![.,?:]) '; }, ); contentName = 'meta.paragraph.text'; },
Then close the bundle editor and TextMate and start it again.
I hope this helps, Simon - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229