#70 New rangeset API

development
closed-accepted
nobody
Program (79)
5
2003-05-02
2002-10-26
Tom Heathcote
No

This patch provides a new API for the rangeset
functionality.

It has fewer functions than the original API, and far
fewer built-in macro variables (just one). This is
achieved by having functions return arrays where
necessary.

It also enforces a stricter policy for creating
rangesets. Range sets must be explicitly created
by calling rangeset_create() (which returns the
identifier for that range set). This is intended to
reduce the chance that two unrelated macros will
interfere with each other by attempting to use the
same range sets.

In addition there is some clean-up of the rangeset
code. And the total number of rangesets has been
increased to 63 per text buffer.

Discussion

  • Tom Heathcote
    Tom Heathcote
    2002-10-26

    New rangeset API v1.0

     
    Attachments
  • Eddy De Greef
    Eddy De Greef
    2003-04-25

    Logged In: YES
    user_id=73597

    I've attached an update of the patch that applies cleanly to
    today's CVS. Unless something shows up, I will commit this
    version next week.

     
  • Eddy De Greef
    Eddy De Greef
    2003-04-25

    Updated patch (CVS 25/4/03)

     
    Attachments
  • Eddy De Greef
    Eddy De Greef
    2003-05-02

    Logged In: YES
    user_id=73597

    The patch is committed to CVS.

     
  • Eddy De Greef
    Eddy De Greef
    2003-05-02

    • status: open --> closed-accepted