[Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733)

elextr notifications at xxxxx
Wed Jan 20 09:55:29 UTC 2021


In the file with `Tab a` go to the next line and type 5 `a`s , the last `a` lines up with the `a` in the line above, so clearly the `a` in the line above is in column 5.

You appear to have confused character count and column count, a column is a vertical strip of screen, a character is an entity in teh file, the file may only have two characters `Tab` and `a` but `Tab` occupies 4 columns and `a` one, total 5.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2733#issuecomment-763483740
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210120/e89c9aa4/attachment.htm>


More information about the Github-comments mailing list