Le 07/10/2014 17:21, Alfredo Braunstein a écrit :
Jean-Marc Lasgouttes wrote:
Le 07/10/2014 16:18, Alfredo Braunstein a écrit :
By the way, this behavior is also a way of triggering
http://www.lyx.org/trac/ticket/3900 ("Mathed corners displayed without
mouse hover", now closed/fixed), as when the cursor escapes wrongly the
math inset, purple corners are not cleared. The patch fixes also this.
Though as before, I don't know if it has other ill effects...
Hi Alfredo,
The problem is to understand how this LFUN_FINISHED_LEFT thingy works. I
suspect that only André knows...
JMarc
Well, that's just mean... Is he around? I'm not supposed to investigate this
by myself, right? I'd rather just wait until Friday and ask less nicely...
;-)
A/
Does this help?
JMarc
/*!
* \var lyx::FuncCode lyx::LFUN_FINISHED_FORWARD
* \li Action: Moves the cursor out of the current slice, going forward.
* \li Notion: Cursor movement within an inset may be different than cursor
movement in the surrounding text. This action should be
called
automatically by the cursor movement within the inset, when
movement within the inset has ceased (reached the end of the
last paragraph, for example), in order to move correctly
back into the surrounding text.
* \endvar
*/
{ LFUN_FINISHED_FORWARD, "", ReadOnly, Hidden },
{ LFUN_FINISHED_RIGHT, "", ReadOnly, Hidden },
/*!
* \var lyx::FuncCode lyx::LFUN_FINISHED_LEFT
* \li Action: Moves the cursor out of the current slice, going left.
* \li Notion: See also #LFUN_FINISHED_FORWARD.
* \endvar
*/
{ LFUN_FINISHED_LEFT, "", ReadOnly, Hidden },