This is still not enough when there are multiple matches on the same line
close to each other. Since we delete some text during fontification
font-lock-fontify-keywords-region will skip over some of the following
text when it readjusts point.
Is it possible to adjust the position at which
font-lock-fontify-keywords-region will set point, to compensate for
the deletion? Could the code use a marker to maintain that position?
Then it would be relocated automatically.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel