Line Numbers in Text Editor

Justin Sloan justin.sloan at us.army.mil
Fri Jun 25 03:25:33 EDT 2010


I went with using a parallel field to add line numbers and it is
working well. However, rev only counts the line numbers based on the
delimeter. So if word warp is turned on you end up with more lines
then there are actual line numbers.

Does anyone know of a way to count all the lines, even the lines that
are wrapped and not separated by the delimeter?

 - Justin



On Thu, Jun 24, 2010 at 5:44 PM, Jeff Massung <massung at gmail.com> wrote:
> I used a parallel field in my Cryogen editor (http://massj.tumblr.com for
> video + screenshot). Worked out perfectly, and now that I've done it that
> way once, I actually wouldn't want to do it any other way in the future.
>
> Jeff M.
>
> On Thu, Jun 24, 2010 at 6:01 AM, Justin Sloan <justin.sloan at us.army.mil>wrote:
>
>> I am planning to implement line numbers in a proprietary text editor
>> that I wrote for in-house use.  Problem is, I don't know how I am
>> going to implement it. I thought about using a parallel text field,
>> but there has to be an easier way.  Any of you genius devs have any
>> ideas?
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list