jtamate updated this revision to Diff 30331. jtamate edited the summary of this revision. jtamate added a comment.
Using upper_bound with < Changed the name of the iterator Using -> instead of (*x) These are the calls I get since I open the document: doc= KTextEditor::DocumentPrivate(0x228fe10) range= [ (0, 0) -> (0, 0) ] dictionary= "" singleLine= true returnSingleRange= false doc= KTextEditor::DocumentPrivate(0x228fe10) range= [ (1, 0) -> (1, 4096) ] dictionary= "" singleLine= true returnSingleRange= false doc= KTextEditor::DocumentPrivate(0x228fe10) range= [ (0, 0) -> (0, 4090) ] dictionary= "" singleLine= true returnSingleRange= false sonnet.core: Missing trigrams for languages: QSet("en_CA", "en_GB", "en_AU") doc= KTextEditor::DocumentPrivate(0x228fe10) range= [ (0, 0) -> (0, 358720) ] dictionary= "" singleLine= true returnSingleRange= false doc= KTextEditor::DocumentPrivate(0x228fe10) range= [ (5, 0) -> (5, 162682) ] dictionary= "" singleLine= true returnSingleRange= false REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D11487?vs=30134&id=30331 REVISION DETAIL https://phabricator.kde.org/D11487 AFFECTED FILES src/buffer/katetextline.cpp src/buffer/katetextline.h To: jtamate, #frameworks, #kate Cc: anthonyfieroni, dhaumann, mwolff, cullmann, michaelh, kevinapavew, ngraham, demsking, sars