How to convert QsciDocument to QTextDocument?
Unsolved
General and Desktop
-
hi !
i want to make editor with Qscintilla
and i need to serach all function,
so i write thism_Write = new QsciScintilla(this);
QTextDocument *document = m_Write->document();
QTextCursor highlightCursor(document);
QTextCursor cursor(document);but
error: cannot convert 'QsciDocument' to 'QTextDocument*' in initializationhow to convert 'QsciDocument' to 'QTextDocument*' ?
or
other way to find all word ? -
@taek-seo said:
how to convert 'QsciDocument' to 'QTextDocument*' ?
or
other way to find all word ?you don't since it doesn't subclass QTextDocument.
Also i don't see any accessible methods in the QsciDocument class?!