Nick Gravgaard
2014-08-10 22:19:35 UTC
I would like to be able to have Scintilla store my own per line
data (an array of structs per line). This would mean I could
cache the lengths of text between tab characters and other
things I need without potentially having to rescan every line
in the file.
I thought one way to do this would be to have 2 new get and set
messages called SCI_GETCUSTOMLINEDATA(linenum) amd
SCI_SETCUSTOMLINEDATA(linenum, data). The data could be
anything but I would use them to store pointers to my arrays of
structs.
Neil, what do you think?
data (an array of structs per line). This would mean I could
cache the lengths of text between tab characters and other
things I need without potentially having to rescan every line
in the file.
I thought one way to do this would be to have 2 new get and set
messages called SCI_GETCUSTOMLINEDATA(linenum) amd
SCI_SETCUSTOMLINEDATA(linenum, data). The data could be
anything but I would use them to store pointers to my arrays of
structs.
Neil, what do you think?
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.