Conversion of variables and functions 0.10 -> 0.12

Ok, that makes sense.

And just to make sure I have understood the transition from markRange to decorations correctly: Inline decorations are equivalent to what previously was markRange, but with the difference that I need to do the update for decorations myself whenever the document changes, right?