Menu

#1869 Question about deleting text

Bug
closed-invalid
None
5
2016-10-16
2016-09-28
No

SCI_REPLACETARGET documentation states:

Note that the recommended way to delete text in the document is to set the target to the text to be removed, and to perform a replace target with an empty string.

Is this preferred over SCI_DELETERANGE, or does the documenation just need updated? I would assume that since SCI_DELETERANGE is made for a single use-case (i.e. deleting text) it would be more efficient.

Thanks

Discussion

  • Neil Hodgson

    Neil Hodgson - 2016-09-28
    • status: open --> open-invalid
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2016-09-28

    This does not appear to be a bug. Questions and discussions should occur on the mailing list.
    https://groups.google.com/forum/#!forum/scintilla-interest

     
  • Neil Hodgson

    Neil Hodgson - 2016-10-16
    • status: open-invalid --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB