Skip to content

Feature/qtc 17#183

Merged
CJCombrink merged 7 commits intomainfrom
feature/qtc-17
Jul 7, 2025
Merged

Feature/qtc 17#183
CJCombrink merged 7 commits intomainfrom
feature/qtc-17

Conversation

@CJCombrink
Copy link
Owner

No description provided.

CJCombrink and others added 7 commits June 18, 2025 21:46
Qt Creator 17 has a different signature to the initialize method.
I removed the pointer to the error string and fixed the return value
type. The return value is changed to Ok (was true before).
The virtual initialize(...) method was changed in it's signature by Qt
for QtCreator. Because the implementation of the virtual method was not
marked override, it was not detected, that his method was not called
anymore. This is now changed for the three interface methods.
Adapted initialize method to new signature
The connection to the signal cursorPositionChanged was failing, because
the editor widget type changed to TextEditor::TextEditorWidget.

The qdynamic_cast delivered a null pointer, so that changes of the
cursor were not processed anymore.
Editor->widget has type TextEditor::TextEditorWidget
@CJCombrink CJCombrink merged commit 0375d22 into main Jul 7, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants