[Kst] Re: A couple of issues with the new ASCII

Peter Kümmel syntheticpp at gmx.net
Thu Jan 27 14:43:01 CET 2011


On 27.01.2011 14:18, Brisset, Nicolas wrote:
>> Shouldn't we remove "Note: Line numbers start at 0." by starting at
> line
>> 1?
> I think we've discussed it before:-) I don't remember the pros and cons
> exactly, maybe you should google in the mailing list archives.
> Personally, I'd find it better as I always have to think twice. Any
> decent editor will show you line numbers starting at 1, and jut copying
> the value to kst would be much easier. Plus for "normal" people (i.e.
> those who don't think in C++), indexes starting at 1 are far more
> natural.

In the vector dialog the index starts at 0, but anyway, 1 is much more "normal".
I'll search the archive.

> 
> The only issue I see is compatibility with old files, once again. But we
> could probably store the values in the .kst with indexes starting at 0,
> and display them starting from 1 in the UI. Not 100% statisfying, but on
> the whole I think it would be better. Who looks at .kst files with an
> editor anyway?

I would only fix the gui without changing anything else.

Peter


More information about the Kst mailing list