Skip to content
Commit 0d49f932 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Introduce cursorToOffset

This isn't in the public API yet but is a useful addition as Kate also
needs such a helper function. Doing it in the buffer allows for optimizations
that are just not possible if one does it from the outside.

An added benefit is that KateViewAccessible is now much faster

Its counterpart 'offsetToCursor' will come in a follow up
parent 5dca0d2e
Pipeline #346569 passed with stage
in 21 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment