On 6/14/10 3:23 AM, Guenter Milde wrote:
On 2010-06-14, Rob Oakes wrote:
Specifically, I'd like to create an LFUN that allows me to quickly place =
the cursor at the end of the last paragraph of the current section =
(e.g., the paragraph before another section at the same toclevel). I =
initially thought that I could use some of the outline code to locate =
the last paragraph in the section, and then use the LFUN_PARAGRAPH_GOTO =
function to get me there.
I would suggest to jump to the next section and then one paragraph up.
If there is no next section, goto end-of-document instead.
And I would think you could get this from the TOC. Yes?
Handling the case where the next section is in a child document will be
tricky, but that will be tricky anyway.
rh