]> git.lizzy.rs Git - micro.git/commit
Add VLoc, VLocFromLoc and LocFromVLoc
authorDmitry Maluka <dmitrymaluka@gmail.com>
Wed, 17 Mar 2021 20:16:52 +0000 (21:16 +0100)
committerDmitry Maluka <dmitrymaluka@gmail.com>
Thu, 8 Apr 2021 21:53:57 +0000 (23:53 +0200)
commit7a3d1e6e300b6c5fec650f7a332fb7afdc3b15c5
tree19c5998e2e88dae223510aa70ef1144202d317b9
parent0487db8b993bafa0a7a780a7872f52796de9b619
Add VLoc, VLocFromLoc and LocFromVLoc

VLoc allows any location in the buffer to be represented as a visual
location in the linewrapped buffer. In particular, this is useful
for implementing moving cursor up and down within a wrapped line.
internal/display/infowindow.go
internal/display/softwrap.go