Jan Vroonhof <jan(a)xemacs.org> writes:
[I am trawling through my old e-mail, sorry for the late reply]
Jeff Mincy <jeff(a)delphioutpost.com> writes:
> So, I've been using hide-ifdef-mode for C/C++ code.
> [various nice feature suggestions deleted]
> How would I go about making this change?
The problem with our hide-ifdef-mode is that is that is uses
'selective-display' which is absolutely ancient. Nowadays you would
do this using extents that are 'invisible'.
Except that would make editing impossible because the cursor would get
"stuck" in those invisible extents. "Atomic" extents might help, but
I'm not convinced they work right either.
At some point I tried to implement the "intangible" extents, but it's
proven quite hard, so I postponed it for better days.