N
N
Nikita Mironov2015-08-10 18:33:09
Qt
Nikita Mironov, 2015-08-10 18:33:09

How to bind QCompleter and QPlainTextEdit in Qt5?

I'm writing a text editor, started implementing auto-complete and ran into a problem that I can't link QCompleter and QPlainTextEdit. Help me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2015-08-10
@zoonman

You need to figure out the text under the cursor and initialize the padding with that prefix.
Here is an example https://forum.qt.io/topic/5265/solved-trying-to-us...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question