aboutsummaryrefslogtreecommitdiff
path: root/text-util.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-07-06 12:55:00 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-07-06 13:13:05 +0200
commit819ef09d1cd9e77a3ffb681fb2e8508e62ffef1c (patch)
treecc19a5f358377728ada5c05aa25f5f255c03b4f6 /text-util.c
parentc61e4091d0d1bc9a3af2f11034f2c0716d302d99 (diff)
downloadvis-819ef09d1cd9e77a3ffb681fb2e8508e62ffef1c.tar.gz
vis-819ef09d1cd9e77a3ffb681fb2e8508e62ffef1c.tar.xz
vis: fix inner text object variants when cursor is on opening delimiter
Except for special cases like gn and gN vis expected that a text object would be a function mapping a position to a range as follows: f: pos -> [start, end] with start <= f(pos) <= end Clearly this condition does not hold for inner text objects when the initial position i.e. the cursor is on the opening delimiter. This also obsoletes the need for the SPLIT text object flag which should be removed in a later commit if the current behavior is found to be working as expected.
Diffstat (limited to 'text-util.c')
0 files changed, 0 insertions, 0 deletions