Fix calculation of shifted cursor/code positions. Specifically support
the case where a specific range is replaced by new text. Previously, the calculation would shift any position from within a replaced region to the first character after the region. This is undersirable, e.g. for clang-format's include sorting. llvm-svn: 253859
Loading
Please sign in to comment