mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-22 02:51:32 +03:00
parent
74b0c98769
commit
5a0332ac87
@ -260,7 +260,8 @@ BufferCoord find_buffer_coord(const DisplayLine& line, const Buffer& buffer,
|
|||||||
}
|
}
|
||||||
column -= len;
|
column -= len;
|
||||||
}
|
}
|
||||||
return buffer.clamp(buffer.prev(range.end));
|
return range.end == BufferCoord{0,0} ?
|
||||||
|
range.end : buffer.prev(range.end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user