https://bugs.kde.org/show_bug.cgi?id=477759

--- Comment #3 from Igor Kushnir <[email protected]> ---
(In reply to rusconi from comment #2)
> Please, give me some directions as to where I find
> the different views of a given opened file, to start with. Then, I'll try to
> find my way. 
TextDocument::cursorPosition() and TextDocument::setCursorPosition()
(https://invent.kde.org/kdevelop/kdevelop/-/blob/5f6282cbb7e4ded41aca76596095a7fb28e4893e/kdevplatform/shell/textdocument.cpp#L449-L479)
obtain an active view via TextDocument::activeTextView(), which looks for the
active view in QList<View*> Sublime::Document::views(). If I understand
correctly, you just need to obtain/set cursors for all elements of this list of
views.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to