Here is the simplest trick that does what people have been
asking for i.e. limiting line length. I had a hunch that
font-locking could be used for that.

The idea is to simply add the following regexp to the keyword list -

(font-lock-add-keywords
 'jde-mode
 '(
 
("^.........................................................................
.......\\(..*\\)$" 1 jde-bug-breakpoint-marker t)
   )
 )

(Note: there are eighty .s in the regexp)
(Note: The font-lock-add-keywords needs to be called after (require 'jde) in
your .emacs)
 
Regexp experts will quickly notice that this works only if the source is
untabified. Is there a quick way to get around that problem ?


Sandip V. Chitale                               150, Almaden Blvd
Software Architect                      San Jose, CA, USA
work:  (408) 535 1791 ext: 791
email: [EMAIL PROTECTED]        web:   http://www.brokat.com

Reply via email to