[Top][All Lists]

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

Re: [Bug-apl] aplwrap: line counter should start at zero

From: David Lamkins
Subject: Re: [Bug-apl] aplwrap: line counter should start at zero
Date: Fri, 3 Oct 2014 13:25:56 -0700

I know. I thought about that.

I'm not convinced that adjusting the line count is the right answer.  We actually do have N lines numbered 0 to N-1.

I suppose we could display the largest line number rather than the number of lines. Then you'd have to remember to add 1 to get the line count...

Maybe just display row and column...? Really: what use is the line count (or highest line number) while editing a function?

On Fri, Oct 3, 2014 at 1:13 PM, Blake McBride <address@hidden> wrote:
Dear David,

Thanks a lot!  Looks a lot better.  I did find one small issue with it though.

It displays the total number of lines.  Nice.  Problem is, it is one greater than the number of lines.  I suppose there is a way of looking at it such that it is correct, but that logic only worked when the line numbers started at 1.  It would be great if the total-number-of-lines number were reduced by one.  i.e. given:

X/Y, Z

Y should be one less.



On Fri, Oct 3, 2014 at 2:14 PM, David B. Lamkins <address@hidden> wrote:
Fixed and pushed.

"The secret to creativity is knowing how to hide your sources."
   Albert Einstein


reply via email to

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