On 03/05/2009 23:36, Vincent van Ravesteijn wrote:
Yes. And that's how the outline lfuns work by the way.
How ?
By looking backward for the first section heading.
Would be nice to make those lfuns reuse the shiny new
LFUN_SECTION_SELECT by the way.
Well, the shiny new LFUN_SECTION_SELECT uses code from the outline lfuns.
I tried to implement the copy and cut operations, but that became
quite difficult. I need somehow to add some functions to CutAndPaste,
but I'm not quite confident that I understand all mechanisms good
enough to determine which functions to make public and/or which
functions to add.
I am not sure you have to add anything. Once something is selected, you
can copy or cut it easily; you don't need special support for "section
selection", a selection is a selection. Or maybe I am missing what you
are missing?
Abdel.