mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Update NEWS, fix a few buglets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1137 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
379381c2de
commit
db3729a059
16
ChangeLog
16
ChangeLog
@ -1,6 +1,20 @@
|
|||||||
|
2000-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* NEWS: updated.
|
||||||
|
|
||||||
|
2000-10-17 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* src/frontends/xforms/FormParagraph.C: more space above/below
|
||||||
|
fixes
|
||||||
|
|
||||||
|
2000-10-17 Dekel Tsur <dekelts@tau.ac.il>
|
||||||
|
|
||||||
|
* src/lyxfunc.C (Dispatch): Call to showState() after insertion of
|
||||||
|
a char only if real_current_font was changed.
|
||||||
|
|
||||||
2000-10-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2000-10-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* NEWS: update somehow for 1.1.6
|
* NEWS: update somewhat for 1.1.6
|
||||||
|
|
||||||
* lib/ui/default.ui: clean up.
|
* lib/ui/default.ui: clean up.
|
||||||
|
|
||||||
|
13
NEWS
13
NEWS
@ -33,20 +33,20 @@ Other major changes in 1.1.6 include:
|
|||||||
|
|
||||||
- the table support has been completely rewritten. It is now a modular
|
- the table support has been completely rewritten. It is now a modular
|
||||||
object (inset) which owns for each cell a (also) newly written text
|
object (inset) which owns for each cell a (also) newly written text
|
||||||
inset. This permits now to have automatic text-wrap inside a tabular
|
inset. This now permits automatic text-wrap inside a tabular
|
||||||
cell (if you define a width), multiparagraph mode AND setting of
|
cell (if you define a width), multiparagraph mode AND setting of
|
||||||
layouts for the paragraphs (lists inside a tabular cell!). Last but
|
layouts for the paragraphs (lists inside a tabular cell!). Last but
|
||||||
not least, wide tabulars now scroll automatically so that all of it
|
not least, a wide tabular now scroll automatically so that all of it
|
||||||
is visible without the need to enlarge the window!
|
is visible without the need to enlarge the window!
|
||||||
|
|
||||||
While there are yet no other new features, they will be now MUCH
|
While there are yet no other new features, they will be now MUCH
|
||||||
easier to add. It may be that because of being "young" code some
|
easier to add. It may be that because of being "young" code some
|
||||||
features may not work right now, but at least you can use this much
|
features may not work right now, but at least it is much
|
||||||
better than before.
|
better than before.
|
||||||
|
|
||||||
- new external material inset: this is a new kind of very powerful
|
- new external material inset: this is a new kind of very powerful
|
||||||
inset which will allow LyX to interface intelligently with external
|
inset which will allow LyX to interface intelligently with external
|
||||||
applications. Among other good things, it will allow you to finally
|
applications. Among other good things, it will finally allow you to
|
||||||
include GIF, JPEG, TIF, PNG, or just about any other raster format
|
include GIF, JPEG, TIF, PNG, or just about any other raster format
|
||||||
images in your document. It will even do an approximate ascii
|
images in your document. It will even do an approximate ascii
|
||||||
rendering when you do Ascii export if you have gifscii installed.
|
rendering when you do Ascii export if you have gifscii installed.
|
||||||
@ -55,9 +55,10 @@ Other major changes in 1.1.6 include:
|
|||||||
viewing or exporting purpose) has been rewritten. In particular, the
|
viewing or exporting purpose) has been rewritten. In particular, the
|
||||||
PDF format is now supported [Dekel, details?]
|
PDF format is now supported [Dekel, details?]
|
||||||
|
|
||||||
- DocBook improvements [José, details?]
|
- included files work now with docbook and linuxdoc.
|
||||||
|
New layout docbook-book.
|
||||||
|
|
||||||
And finally, there has been a lot of smaller changes, which are
|
And finally, there have been a lot of smaller changes, which are
|
||||||
mentioned here for your information
|
mentioned here for your information
|
||||||
|
|
||||||
- the menu entry File->New does not prompt for a file name by default
|
- the menu entry File->New does not prompt for a file name by default
|
||||||
|
@ -547,17 +547,17 @@ bool FormParagraph::input(FL_OBJECT * ob, long)
|
|||||||
//
|
//
|
||||||
// "Synchronize" the choices and input fields, making it
|
// "Synchronize" the choices and input fields, making it
|
||||||
// impossible to commit senseless data.
|
// impossible to commit senseless data.
|
||||||
if (ob == general_->choice_space_above) {
|
|
||||||
if (fl_get_choice (general_->choice_space_above) != 7)
|
if (fl_get_choice (general_->choice_space_above) != 7)
|
||||||
fl_set_input (general_->input_space_above, "");
|
fl_set_input (general_->input_space_above, "");
|
||||||
} else if (ob == general_->choice_space_below) {
|
|
||||||
if (fl_get_choice (general_->choice_space_below) != 7)
|
if (fl_get_choice (general_->choice_space_below) != 7)
|
||||||
fl_set_input (general_->input_space_below, "");
|
fl_set_input (general_->input_space_below, "");
|
||||||
}
|
|
||||||
//
|
//
|
||||||
// then the extra form
|
// then the extra form
|
||||||
//
|
//
|
||||||
else if (ob == extra_->radio_pextra_indent) {
|
if (ob == extra_->radio_pextra_indent) {
|
||||||
int n = fl_get_button(extra_->radio_pextra_indent);
|
int n = fl_get_button(extra_->radio_pextra_indent);
|
||||||
if (n) {
|
if (n) {
|
||||||
fl_set_button(extra_->radio_pextra_minipage, 0);
|
fl_set_button(extra_->radio_pextra_minipage, 0);
|
||||||
@ -648,32 +648,28 @@ bool FormParagraph::input(FL_OBJECT * ob, long)
|
|||||||
// first the general form
|
// first the general form
|
||||||
//
|
//
|
||||||
string input = fl_get_input (general_->input_space_above);
|
string input = fl_get_input (general_->input_space_above);
|
||||||
|
bool invalid = false;
|
||||||
|
|
||||||
if (input.empty()) {
|
if (fl_get_choice(general_->choice_space_above)==7)
|
||||||
fl_set_choice (general_->choice_space_above, 1);
|
invalid = !input.empty() && !isValidGlueLength(input);
|
||||||
} else if (isValidGlueLength (input)) {
|
|
||||||
fl_set_choice (general_->choice_space_above, 7);
|
|
||||||
} else {
|
|
||||||
fl_set_choice (general_->choice_space_above, 7);
|
|
||||||
fl_set_object_label(dialog_->text_warning,
|
|
||||||
_("Warning: Invalid Length (valid example: 10mm)"));
|
|
||||||
fl_show_object(dialog_->text_warning);
|
|
||||||
ret = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
input = fl_get_input (general_->input_space_below);
|
input = fl_get_input (general_->input_space_below);
|
||||||
|
|
||||||
if (input.empty()) {
|
if (fl_get_choice(general_->choice_space_below)==7)
|
||||||
fl_set_choice (general_->choice_space_below, 1);
|
invalid = invalid || (!input.empty() && !isValidGlueLength(input));
|
||||||
} else if (isValidGlueLength(input)) {
|
|
||||||
fl_set_choice (general_->choice_space_below, 7);
|
if (ob == general_->input_space_above || ob == general_->input_space_below) {
|
||||||
} else {
|
if (invalid) {
|
||||||
fl_set_choice (general_->choice_space_below, 7);
|
fl_set_object_label(dialog_->text_warning,
|
||||||
fl_set_object_label(dialog_->text_warning,
|
_("Warning: Invalid Length (valid example: 10mm)"));
|
||||||
_("Warning: Invalid Length (valid example: 10mm)"));
|
fl_show_object(dialog_->text_warning);
|
||||||
fl_show_object(dialog_->text_warning);
|
return false;
|
||||||
ret = false;
|
} else {
|
||||||
|
fl_hide_object(dialog_->text_warning);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// then the extra form
|
// then the extra form
|
||||||
//
|
//
|
||||||
|
@ -2886,6 +2886,7 @@ string const LyXFunc::Dispatch(int ac,
|
|||||||
|
|
||||||
case LFUN_SELFINSERT:
|
case LFUN_SELFINSERT:
|
||||||
{
|
{
|
||||||
|
LyXFont old_font(owner->view()->text->real_current_font);
|
||||||
for (string::size_type i = 0; i < argument.length(); ++i) {
|
for (string::size_type i = 0; i < argument.length(); ++i) {
|
||||||
owner->view()->text->InsertChar(owner->view(), argument[i]);
|
owner->view()->text->InsertChar(owner->view(), argument[i]);
|
||||||
// This needs to be in the loop, or else we
|
// This needs to be in the loop, or else we
|
||||||
@ -2895,8 +2896,11 @@ string const LyXFunc::Dispatch(int ac,
|
|||||||
owner->view()->text->sel_cursor =
|
owner->view()->text->sel_cursor =
|
||||||
owner->view()->text->cursor;
|
owner->view()->text->cursor;
|
||||||
moveCursorUpdate(false);
|
moveCursorUpdate(false);
|
||||||
owner->showState(); // current_font.number can change
|
|
||||||
// so we need to update the minibuffer
|
// real_current_font.number can change so we need to
|
||||||
|
// update the minibuffer
|
||||||
|
if (old_font != owner->view()->text->real_current_font)
|
||||||
|
owner->showState();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -3017,7 +3021,7 @@ string const LyXFunc::Dispatch(int ac,
|
|||||||
}
|
}
|
||||||
|
|
||||||
owner->view()->beforeChange();
|
owner->view()->beforeChange();
|
||||||
|
LyXFont old_font(owner->view()->text->real_current_font);
|
||||||
for (string::size_type i = 0;
|
for (string::size_type i = 0;
|
||||||
i < argument.length(); ++i) {
|
i < argument.length(); ++i) {
|
||||||
if (greek_kb_flag) {
|
if (greek_kb_flag) {
|
||||||
@ -3032,8 +3036,11 @@ string const LyXFunc::Dispatch(int ac,
|
|||||||
owner->view()->text->sel_cursor =
|
owner->view()->text->sel_cursor =
|
||||||
owner->view()->text->cursor;
|
owner->view()->text->cursor;
|
||||||
moveCursorUpdate(false);
|
moveCursorUpdate(false);
|
||||||
owner->showState(); // current_font.number can change
|
|
||||||
// so we need to update the minibuffer
|
// real_current_font.number can change so we need to
|
||||||
|
// update the minibuffer
|
||||||
|
if (old_font != owner->view()->text->real_current_font)
|
||||||
|
owner->showState();
|
||||||
return string();
|
return string();
|
||||||
} else {
|
} else {
|
||||||
// why is an "Unknown action" with empty
|
// why is an "Unknown action" with empty
|
||||||
|
@ -129,6 +129,7 @@ int MiniBuffer::peek_event(FL_OBJECT * ob, int event, FL_Coord, FL_Coord,
|
|||||||
} else if (event == FL_PUSH) {
|
} else if (event == FL_PUSH) {
|
||||||
// This actually clears the buffer.
|
// This actually clears the buffer.
|
||||||
mini->PrepareForCommand();
|
mini->PrepareForCommand();
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user