@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?!