[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About column numbers

From: Yuri Khan
Subject: Re: About column numbers
Date: Thu, 31 Mar 2016 01:17:49 +0600

On Thu, Mar 31, 2016 at 12:56 AM, Andreas Schwab <address@hidden> wrote:

>>> They also count columns from 1.
>> At least GCC doesn’t. It counts bytes.
> It does.  Starting from 1.

So it’s mostly useless in a 0-based character-counting editor, and
slightly less useless in a 1-based character-counting editor, and much
more useless in a cell-counting editor if you happen to use tabs. All
in all, there is much more agreement about line numbers than column
numbers, which makes it possible for each editor/IDE to choose, or
even let users choose.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]