Introduce: Kate::TextBlock::blockSize() and offsetToCursor
It returns the number of QChars + newlines in the block. This is used to greatly speed up the cursorToOffset function
It returns the number of QChars + newlines in the block. This is used to greatly speed up the cursorToOffset function