I once saw the thread here where someone was looking for something similar like formatting text on fly.
What I want to achieve is to detect whenever 'Enter' is clicked and start new line with the dash at it's beginning ? What I really want to achieve is TODO list
I can not find this thread and I do know which class could be used to achieve my goal.
probably QTextCursor may help here, will see.
Scenario like this maybe
1. connect textChanged() signal
2. using QTextCursor check code of the last entered char
3. if it is new line code than put new line and start new line with dash ?
No I failed to came up with something working use the scenario above
Bookmarks