Message389353
We should definitely document the column offset being 1-based, if it hasn't been already. But be careful, there are some APIs that are 0-based and others that are 1-based, for column offsets.
I was quite surprised at some point to find out that we were inconsistent with the column offset, and then I looked at what Emacs and vim do, and I found that both interpret column offsets (in the familiar "filename:lineno:offset: message" format) as 1-based. IIRC I had to fix it in quite a few places because we were actually being inconsistent. |
|
Date |
User |
Action |
Args |
2021-03-22 23:50:43 | gvanrossum | set | recipients:
+ gvanrossum, terry.reedy, aroberge, lys.nikolaou, pablogsal, miss-islington |
2021-03-22 23:50:43 | gvanrossum | set | messageid: <1616457043.33.0.0399283667858.issue43555@roundup.psfhosted.org> |
2021-03-22 23:50:43 | gvanrossum | link | issue43555 messages |
2021-03-22 23:50:43 | gvanrossum | create | |
|