tab-sel patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-12-02 16:23:50 +00:00
parent 0a8ee85654
commit 7a37009608
2 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: capture some more functions to prevent
selection drawing problems. Bug #451274
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
* insetgraphics.C:

View File

@ -995,13 +995,25 @@ InsetTabular::localDispatch(BufferView * bv, kb_action action,
updateLocal(bv, CURSOR, false);
break;
}
// none of these make sense for insettabular,
// but we must catch them to prevent any
// selection from being confused
case LFUN_PRIORSEL:
case LFUN_NEXTSEL:
case LFUN_WORDLEFT:
case LFUN_WORDLEFTSEL:
case LFUN_WORDRIGHT:
case LFUN_WORDRIGHTSEL:
case LFUN_DOWN_PARAGRAPH:
case LFUN_DOWN_PARAGRAPHSEL:
case LFUN_UP_PARAGRAPH:
case LFUN_UP_PARAGRAPHSEL:
case LFUN_BACKSPACE:
break;
case LFUN_DELETE:
break;
case LFUN_HOME:
break;
case LFUN_HOMESEL:
case LFUN_END:
case LFUN_ENDSEL:
break;
case LFUN_LAYOUT_TABULAR:
{