ahmadsamir updated this revision to Diff 54149. ahmadsamir added a comment.
- Split the code responsible for inserting text in block selection from typeChars() to a new function - Don't add words where the block selection cursor is inside to the possible completion matches from the document - Add unit test REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D18793?vs=52658&id=54149 BRANCH block-selection-completion-3 (branched from master) REVISION DETAIL https://phabricator.kde.org/D18793 AFFECTED FILES autotests/src/completion_test.cpp autotests/src/completion_test.h src/completion/katewordcompletion.cpp src/document/katedocument.cpp src/document/katedocument.h To: ahmadsamir, #ktexteditor, cullmann, dhaumann, #kdevelop, mwolff Cc: loh.tar, mwolff, kde-frameworks-devel, kwrite-devel, #ktexteditor, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann