# Implementation Tweaks and Bug Fixes
-* investigate weird behavior when editing CRLF files and copy-pasting
* Expand tabs setting should be disabled if opened file contains tabs
* Add tag for ctags lookup and line number jump
* add a shortcut to autocomplete ctag
* block selection should handle brace-balancing
* Use select to check for error strings in exec.c
* Should not be able to undo initial tag line text insertion
-* track down double click bug for selecting whole line
* Implement minimal regex search (per Kernighan article)
* Implement fuzzy file/buffer/tag picker
* check for file changes when window regains focus
Row* scrrow = view_getrow(view, row);
if (!scrrow) return SIZE_MAX;
size_t pos = scrrow->off;
- if (col > scrrow->len) {
+ if (col >= scrrow->len) {
pos = (scrrow->off + scrrow->rlen - 1);
} else {
/* multi column runes are followed by \0 slots so if we clicked on a \0