Re: [dev] [sandy] [PATCH] VIM key bindings.

From: Charlie Kester <corky1951_AT_comcast.net>
Date: Thu, 10 Jul 2014 15:59:01 -0700

On Thu 10 Jul 2014 at 15:46:13 PDT Dimitris Papastamos wrote:
>On Fri, Jul 11, 2014 at 01:43:16AM +0300, Dimitris Zervas wrote:
>> First of all, we haven't even agree in which data structure will we use.
>> Buffer gap, piece table, or pointer array?
>
>If you want to tackle this, I'd go with whatever approach you feel most
>comfortable with.
>
>Try to keep it simple, maybe separate out the data structure implementation.

I agree. Start by identifying the editing operations that the data
structure must support, no matter how it is implemented. Those
operations will form the API for your data engine, and no other part of
the editor should be written in a way that cares about the internals of
that engine.

If I do have a go at implementing Pike's structural regular expressions
on top of a buffer gap structure, I'll probably take his description of
the sam editor as a guide for my API.
Received on Fri Jul 11 2014 - 00:59:01 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 11 2014 - 01:00:11 CEST