#1419 Wrong return type for Get{Character,Range}Pointer in .iface

Scintilla (792)

The Get{Character,Range}Pointer getters are currently annotated as returning 'int', but they really should return 'string' as defined in Scintilla.iface.


  • Neil Hodgson

    Neil Hodgson - 2012-11-06
    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-invalid
  • Neil Hodgson

    Neil Hodgson - 2012-11-06

    These return pointers into Scintilla's data. String gets perform copies into application provided buffers.

  • Nils Nordman

    Nils Nordman - 2012-11-07

    Well there are no gets returning strings at the moment that I can see. Also, your description seems to be for getters taking 'stringresult' as parameters?

    More to the point, how is it possible to generate a Scintilla interface automatically with correct signatures for these operations when they return 'int'? Returning 'string' would allow methods for these operations to be generated correctly.

  • Neil Hodgson

    Neil Hodgson - 2012-11-07

    If you don't want to special-case these then leave them out.

  • Neil Hodgson

    Neil Hodgson - 2013-02-26
    • status: open-invalid --> closed-invalid
    • milestone: --> Bug

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks