Jürgen Spitzmüller <sp...@lyx.org> writes: > Enrico Forestieri wrote: >> The method was once named textString() and was changed to tocString() >> at http://www.lyx.org/trac/changeset/27378 for (seemingly) unknown >> reasons (maybe due to a wrong comment in src/insets/Inset.h ?). > > I remember that Jean-Marc opted for the renaming. Could it be that we need to > split this method, if it's really used for pasting as well?
The renaming was to make it clear that this is a function for TOC, especially to avoid mixing it up with othe ruses such as cut-and-paste. I am not sure how to make it more obvious. JMarc