MCPcopy Create free account
hub / github.com/KDE/ghostwriter / cursorRect

Method cursorRect

src/editor/markdowneditor.cpp:787–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787QRect MarkdownEditor::cursorRect(const QTextCursor &cursor) const
788{
789 QRect r = QPlainTextEdit::cursorRect(cursor);
790 r.setWidth(MarkdownEditorPrivate::CursorWidth);
791 return r;
792}
793
794QRect MarkdownEditor::cursorRect() const
795{

Callers 3

paintEventMethod · 0.95
eventFilterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected