port from KDevelop::SimpleRange to KTextEditor::Range port from KDevelop::SimpleCursor to KTextEditor::Cursor