mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
John's patch for fixing mouse button press lfuns inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5106 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b9d9f6c408
commit
d902fedf32
@ -1,3 +1,9 @@
|
|||||||
|
2002-08-26 Juergen Vigna <jug@sad.it>
|
||||||
|
|
||||||
|
* insettext.C (localDispatch): ditto.
|
||||||
|
|
||||||
|
* insettabular.C (localDispatch): fixed mouse pressing lfuns.
|
||||||
|
|
||||||
2002-08-25 John Levon <levon@movementarian.org>
|
2002-08-25 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* inseturl.C: elide long URLs (bug 404)
|
* inseturl.C: elide long URLs (bug 404)
|
||||||
|
@ -920,7 +920,6 @@ Inset::RESULT InsetTabular::localDispatch(FuncRequest const & cmd)
|
|||||||
return DISPATCHED;
|
return DISPATCHED;
|
||||||
|
|
||||||
case LFUN_MOUSE_RELEASE:
|
case LFUN_MOUSE_RELEASE:
|
||||||
lfunMouseRelease(cmd);
|
|
||||||
return lfunMouseRelease(cmd) ? DISPATCHED : UNDISPATCHED;
|
return lfunMouseRelease(cmd) ? DISPATCHED : UNDISPATCHED;
|
||||||
|
|
||||||
case LFUN_SHIFT_TAB:
|
case LFUN_SHIFT_TAB:
|
||||||
|
@ -1239,6 +1239,18 @@ Inset::RESULT InsetText::localDispatch(FuncRequest const & ev)
|
|||||||
int updwhat = 0;
|
int updwhat = 0;
|
||||||
int updflag = false;
|
int updflag = false;
|
||||||
switch (ev.action) {
|
switch (ev.action) {
|
||||||
|
|
||||||
|
case LFUN_MOUSE_PRESS:
|
||||||
|
lfunMousePress(ev);
|
||||||
|
return DISPATCHED;
|
||||||
|
|
||||||
|
case LFUN_MOUSE_MOTION:
|
||||||
|
lfunMouseMotion(ev);
|
||||||
|
return DISPATCHED;
|
||||||
|
|
||||||
|
case LFUN_MOUSE_RELEASE:
|
||||||
|
return lfunMouseRelease(ev) ? DISPATCHED : UNDISPATCHED;
|
||||||
|
|
||||||
// Normal chars
|
// Normal chars
|
||||||
case LFUN_SELFINSERT:
|
case LFUN_SELFINSERT:
|
||||||
if (bv->buffer()->isReadonly()) {
|
if (bv->buffer()->isReadonly()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user