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

--- Comment #2 from rusconi <[email protected]> ---
(In reply to Igor Kushnir from comment #1)
> The relevant code appears to be in
> SourceFormatterController::FileFormatter::formatDocument() at
> https://invent.kde.org/kdevelop/kdevelop/-/blob/
> 8f23c66e87587db3116d81f14e7d7ea3caf03150/kdevplatform/shell/
> sourceformattercontroller.cpp#L729-735
> 
> I think the bug can be fixed by introducing new API
> QVector<KTextEditor::Cursor> IDocument::allCursorPositions() and void
> IDocument::setAllCursorPositions(const QVector<KTextEditor::Cursor> &); and
> using the new API in formatDocument() to save and restore the cursor
> positions of all views, not just the active one. Since this API does not
> exist yet, similar bugs are possible elsewhere.
> 
> A merge request is welcome.

I would be eager to help. 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. 
Thank you,
Filippo

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

Reply via email to