cullmann updated this revision to Diff 47151. cullmann added a comment.
avoid a lot of allocations for the sets we can just use a vector and remember if we need to update a range, in worst case, twice inserted REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D17441?vs=47150&id=47151 BRANCH master REVISION DETAIL https://phabricator.kde.org/D17441 AFFECTED FILES src/buffer/katetextblock.cpp src/buffer/katetextblock.h src/buffer/katetextcursor.cpp src/buffer/katetextrange.h src/document/katedocument.cpp src/search/katesearchbar.cpp src/vimode/marks.cpp src/vimode/marks.h To: cullmann, dhaumann, #kate, loh.tar Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann