Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Re: Fontifying large buffers in idlwave?
Todd Clements (mole6e23@hotmail.com) writes: > I have some IDL code that is > 250K in > size (not my own code, otherwise I'd break it up...) Todd, let me know. I have gift certificates for my book. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting Phone: 970-221-0438 E-Mail: davidf@dfanning.com Coyote's Guide to IDL Programming: http://www.dfanning.com/ Toll-Free IDL Book Orders: 1-888-461-0155
davidf@dfanning.com (David Fanning) wrote: > Todd Clements (mole6e23@hotmail.com) writes: > >> I have some IDL code that is > 250K in >> size (not my own code, otherwise I'd break it up...) > > Todd, let me know. I have gift certificates for > my book. :-) In your .emacs file: (custom-set-variables '(font-lock-maximum-size (* 512 1024))) Where you can set any random maximum you want by changing that 512 (the defult is 256, i.e. 256*1024 = 256K). Works on my xemacs. When can I expect my book? ;> Todd
Todd Clements (mole6e23@hotmail.com) writes: > When can I expect my book? ;> Uh, I thought you were going to give them to those guys who wrote those huge program files. :-) Cheers, David P.S. Let's just say that even if you don't like objects, you *have* to like a nice object-oriented programming style. -- David Fanning, Ph.D. Fanning Software Consulting Phone: 970-221-0438 E-Mail: davidf@dfanning.com Coyote's Guide to IDL Programming: http://www.dfanning.com/ Toll-Free IDL Book Orders: 1-888-461-0155
>>>> > "TC" == Todd Clements <mole6e23@hotmail.com> writes: TC> Hi all... Any of you idlwave users (or programmers) out there TC> know how to set up xemacs to fontify a large buffer? I have some TC> IDL code that is > 250K in size (not my own code, otherwise I'd TC> break it up...) that I'd like to be able to fontify, but emacs TC> says "buffer too big". In .emacs, use this: (setq font-lock-maximum-size 1000000) The number is a buffer size in bytes (not lines). You can also use (setq font-lock-maximum-size nil) to remove any size limit. - Carsten -- Carsten Dominik <dominik@astro.uva.nl> \ _ / Sterrenkundig Instituut "Anton Pannekoek" |X| _ Kruislaan 403; NL-1098 SJ Amsterdam /| |\ _ _ _/ \ phone +31 (20) 525-7477; FAX +31 (20) 525-7484 __|o|___/ ~~ \___/ ~~~