Re: [textadept] Line numbers

From: mitchell <c....at.caladbolg.net>
Date: Mon, 19 Dec 2011 11:30:25 -0500 (Eastern Standard Time)

Hi Robert,

On Sun, 18 Dec 2011, Robert wrote:

> Hi,
>
> here's another one:
> How about having the line numbers not be zero-indexed? Tables in Lua
> start from 1 as well, so this could simplify writing line-number related code.

This is hard because I would have to keep track of which Scintilla
functions use or return line numbers and increment or decrement by 1
as necessary. This could also affect speed in the Lua <-> C bridge. It
feels quite error-prone too.

mitchell
Received on Mon 19 Dec 2011 - 11:30:25 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:26:45 EST