CM6 equivalent for extractLlineClasses functionality

You cannot style lines from language modes anymore. But it would be possible to write an extension that looks for certain patterns in the syntax tree and derives a set of line decorations from that.