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

jesus2099 notifications at xxxxx
Wed Jan 20 08:47:17 UTC 2021


Open a document (JavaScript) that only contains a Tab followed by any character.
Status bar settings should use `%C` to display column position (if your setting is `%c`, subtract 1 to all my examples).

    →a

(where the → character represents the Tab character)

- When you press Ctrl+Home, column is 1, correct 👍 
- When you press Ctrl+End, column should be 3, but it is 6 👎 
- Indeed, when you now press left arrow, column should be 2, but it is 5 👎 

The problem is that the Tab is counted as 4 characters instead of 1.


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210120/48e8f99c/attachment.htm>


More information about the Github-comments mailing list