mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
add encodings and languages to dist handle the locking inset in processkeysym only when we have a buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1104 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
95fdfb772b
commit
85ddc48c4c
@ -1,3 +1,10 @@
|
|||||||
|
2000-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||||
|
|
||||||
|
* src/lyxfunc.C (processKeySym): only handle the
|
||||||
|
lockinginset/inset stuff if we have a buffer and text loaded...
|
||||||
|
|
||||||
|
* lib/Makefile.am (EXTRA_DIST): add encodings and languages
|
||||||
|
|
||||||
2000-10-12 <larsbj@baywatch.lyx.org>
|
2000-10-12 <larsbj@baywatch.lyx.org>
|
||||||
|
|
||||||
* src/support/lyxfunctional.h: add operator= that takes a reference
|
* src/support/lyxfunctional.h: add operator= that takes a reference
|
||||||
|
@ -33,7 +33,8 @@ LYXLIBDIRS = bind clipart doc examples images kbd layouts scripts \
|
|||||||
templates tex ui
|
templates tex ui
|
||||||
|
|
||||||
EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \
|
EXTRA_DIST = CREDITS chkconfig.ltx configure.cmd lyxrc.example \
|
||||||
external_templates $(LYXLIBDIRS) build-listerrors
|
external_templates $(LYXLIBDIRS) build-listerrors \
|
||||||
|
encodings languages
|
||||||
|
|
||||||
libinstalldirs:
|
libinstalldirs:
|
||||||
for dir in $(LYXLIBDIRS) ; do \
|
for dir in $(LYXLIBDIRS) ; do \
|
||||||
|
@ -191,9 +191,10 @@ int LyXFunc::processKeySym(KeySym keysym, unsigned int state)
|
|||||||
return FL_PREEMPT;
|
return FL_PREEMPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (owner->view()->available()) {
|
||||||
// this function should be used always [asierra060396]
|
// this function should be used always [asierra060396]
|
||||||
UpdatableInset * tli = owner->view()->theLockingInset();
|
UpdatableInset * tli = owner->view()->theLockingInset();
|
||||||
if (owner->view()->available() && tli && (keysym == XK_Escape)) {
|
if (tli && (keysym == XK_Escape)) {
|
||||||
if (tli == tli->GetLockingInset()) {
|
if (tli == tli->GetLockingInset()) {
|
||||||
owner->view()->unlockInset(tli);
|
owner->view()->unlockInset(tli);
|
||||||
owner->view()->text->CursorRight(owner->view());
|
owner->view()->text->CursorRight(owner->view());
|
||||||
@ -206,6 +207,7 @@ int LyXFunc::processKeySym(KeySym keysym, unsigned int state)
|
|||||||
//return 0;
|
//return 0;
|
||||||
return FL_PREEMPT;
|
return FL_PREEMPT;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Can we be sure that this will work for all X-Windows
|
// Can we be sure that this will work for all X-Windows
|
||||||
// implementations? (Lgb)
|
// implementations? (Lgb)
|
||||||
|
Loading…
Reference in New Issue
Block a user