Mercurial > vim
view src/libvterm/t/20state_wrapping.test @ 25457:b95f9cc3d1b9 v8.2.3265
patch 8.2.3265: smartcase does not work correctly in very magic pattern
Commit: https://github.com/vim/vim/commit/78ba933d18439ff1a02f6be4c571e73ddceb3cd4
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Aug 1 12:44:37 2021 +0200
patch 8.2.3265: smartcase does not work correctly in very magic pattern
Problem: Smartcase does not work correctly in very magic pattern.
Solution: Take the magicness into account when skipping over regexp items.
(Christian Brabandt, closes #8682, closes #7845)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 12:45:03 +0200 |
parents | b8299e742f41 |
children |
line wrap: on
line source
INIT UTF8 1 WANTSTATE gm !79th Column PUSH "\e[75G" PUSH "A"x5 putglyph 0x41 1 0,74 putglyph 0x41 1 0,75 putglyph 0x41 1 0,76 putglyph 0x41 1 0,77 putglyph 0x41 1 0,78 ?cursor = 0,79 !80th Column Phantom PUSH "A" putglyph 0x41 1 0,79 ?cursor = 0,79 !Line Wraparound PUSH "B" putglyph 0x42 1 1,0 ?cursor = 1,1 !Line Wraparound during combined write PUSH "\e[78G" PUSH "BBBCC" putglyph 0x42 1 1,77 putglyph 0x42 1 1,78 putglyph 0x42 1 1,79 putglyph 0x43 1 2,0 putglyph 0x43 1 2,1 ?cursor = 2,2 !DEC Auto Wrap Mode RESET PUSH "\e[?7l" PUSH "\e[75G" PUSH "D"x6 putglyph 0x44 1 0,74 putglyph 0x44 1 0,75 putglyph 0x44 1 0,76 putglyph 0x44 1 0,77 putglyph 0x44 1 0,78 putglyph 0x44 1 0,79 ?cursor = 0,79 PUSH "D" putglyph 0x44 1 0,79 ?cursor = 0,79 PUSH "\e[?7h" !80th column causes linefeed on wraparound PUSH "\e[25;78HABC" putglyph 0x41 1 24,77 putglyph 0x42 1 24,78 putglyph 0x43 1 24,79 ?cursor = 24,79 PUSH "D" moverect 1..25,0..80 -> 0..24,0..80 putglyph 0x44 1 24,0 !80th column phantom linefeed phantom cancelled by explicit cursor move PUSH "\e[25;78HABC" putglyph 0x41 1 24,77 putglyph 0x42 1 24,78 putglyph 0x43 1 24,79 ?cursor = 24,79 PUSH "\e[25;1HD" putglyph 0x44 1 24,0