mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
Fix goto reference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1345 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
53b30ba060
commit
ce61844b9c
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
|
2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
* WorkArea.C (work_area_handler): Decrease keyboard purge thershold.
|
* text.C (IsBoundary): Remove the error message
|
||||||
|
|
||||||
|
* WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
|
||||||
|
|
||||||
* lyxrc.C (setDefaults): Correct initialization value for
|
* lyxrc.C (setDefaults): Correct initialization value for
|
||||||
font_norm_type.
|
font_norm_type.
|
||||||
@ -32,4 +34,3 @@
|
|||||||
alignment commands (when needed).
|
alignment commands (when needed).
|
||||||
|
|
||||||
* text.C (InsertChar): Add ':' to number separator chars.
|
* text.C (InsertChar): Add ':' to number separator chars.
|
||||||
|
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
|
* FormRef.C (input): Fix the behavior of goto reference button.
|
||||||
|
|
@ -199,7 +199,7 @@ bool FormRef::input(FL_OBJECT *, long data)
|
|||||||
{
|
{
|
||||||
lv_->getLyXFunc()->
|
lv_->getLyXFunc()->
|
||||||
Dispatch(LFUN_REF_GOTO,
|
Dispatch(LFUN_REF_GOTO,
|
||||||
params.getContents());
|
fl_get_input(dialog_->ref));
|
||||||
fl_set_object_label(dialog_->button_go, _("Go back"));
|
fl_set_object_label(dialog_->button_go, _("Go back"));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -348,7 +348,8 @@ bool LyXText::IsBoundary(Buffer const * buf, LyXParagraph * par,
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!bidi_InRange(pos - 1)) {
|
if (!bidi_InRange(pos - 1)) {
|
||||||
lyxerr << "LyXText::IsBoundary This shouldn't happen." << endl;
|
/// This can happen if pos is the first char of a row.
|
||||||
|
/// Returning false in this case is incorrect!
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user