ahmadsamir created this revision. ahmadsamir added reviewers: KTextEditor, dhaumann, cullmann. Herald added projects: Kate, Frameworks. ahmadsamir requested review of this revision.
REVISION SUMMARY The typeChars() functions filters out non-printable characters, except for: \t, \n, \r; add QChar::SoftHyphen to that list. BUG: 396764 TEST PLAN Test typing a soft-hyphen char (here I used Compose key + minus + minus + space) All unit tests passed REPOSITORY R39 KTextEditor BRANCH ahmad/soft-hyphen (branched from master) REVISION DETAIL https://phabricator.kde.org/D23472 AFFECTED FILES src/document/katedocument.cpp To: ahmadsamir, #ktexteditor, dhaumann, cullmann Cc: kde-frameworks-devel, kwrite-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann