mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
fix bug #652; handle viewers set to "none"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
35fdb32c83
commit
a1bf16356d
@ -1861,11 +1861,12 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
|
||||
{
|
||||
Paragraph * spar = lt->selection.start.par();
|
||||
Paragraph * epar = lt->selection.end.par()->next();
|
||||
while(spar != epar) {
|
||||
while (spar != epar) {
|
||||
if (spar->layout() != current_layout) {
|
||||
change_layout = true;
|
||||
break;
|
||||
}
|
||||
spar = spar->next();
|
||||
}
|
||||
}
|
||||
if (change_layout) {
|
||||
|
@ -1,3 +1,14 @@
|
||||
2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* lyxrc.C (read): treat a viewer or converter command of "none" as
|
||||
if it were empty.
|
||||
|
||||
* MenuBackend.C (expandFormats): for an update, also allow the
|
||||
formats that are not viewable
|
||||
|
||||
* BufferView_pimpl.C (Dispatch): when changing layouts, fix an
|
||||
infinite loop (bug #652)
|
||||
|
||||
2002-09-10 Michael Schmitt <michael.schmitt@teststep.org>
|
||||
|
||||
* text.C (getColumnNearX): placement of cursor in presence of
|
||||
@ -24,7 +35,8 @@
|
||||
|
||||
2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
|
||||
* text.C (paintRowSelection): Fix code for rows with both RTL &
|
||||
LTR text.
|
||||
|
||||
* BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
|
||||
Hebrew text.
|
||||
|
@ -340,7 +340,7 @@ void Menu::expand(Menu & tomenu, Buffer * buf) const
|
||||
action = LFUN_PREVIEW;
|
||||
break;
|
||||
case MenuItem::UpdateFormats:
|
||||
formats = Exporter::GetExportableFormats(buf, true);
|
||||
formats = Exporter::GetExportableFormats(buf, false);
|
||||
action = LFUN_UPDATE;
|
||||
break;
|
||||
default:
|
||||
|
@ -902,7 +902,8 @@ int LyXRC::read(string const & filename)
|
||||
command = lexrc.getString();
|
||||
if (lexrc.next())
|
||||
flags = lexrc.getString();
|
||||
if (command.empty() || command == "none")
|
||||
if (command.empty()
|
||||
|| token(command, ' ', 0) == "none")
|
||||
converters.erase(from, to);
|
||||
else
|
||||
converters.add(from, to, command, flags);
|
||||
@ -912,8 +913,11 @@ int LyXRC::read(string const & filename)
|
||||
string format, command;
|
||||
if (lexrc.next())
|
||||
format = lexrc.getString();
|
||||
if (lexrc.next())
|
||||
if (lexrc.next()) {
|
||||
command = lexrc.getString();
|
||||
if (token(command, ' ', 0) == "none")
|
||||
command.erase();
|
||||
}
|
||||
formats.setViewer(format, command);
|
||||
break;
|
||||
}
|
||||
|
15
status.12x
15
status.12x
@ -32,15 +32,12 @@ What's new
|
||||
|
||||
- update cl2emult textclass
|
||||
|
||||
- small cleanup of UserGuide; update to German User Guide and Extended
|
||||
manual.
|
||||
- small cleanup of UserGuide; update to German and French documentation
|
||||
|
||||
- update german and danish localization of the interface
|
||||
- update french, german and danish localization of the interface
|
||||
|
||||
** Bug fixes
|
||||
|
||||
- the reference dialog now lists the labels of the current buffer.
|
||||
|
||||
- fix bug where special characters in equations label confuse LyX
|
||||
(this was a new bug in 1.2.1)
|
||||
|
||||
@ -49,10 +46,18 @@ What's new
|
||||
|
||||
- fix bug with handling of EPSI files (this was a new bug in 1.2.1)
|
||||
|
||||
- fix lockup when changing the layout of several paragraphs at the
|
||||
same time (and the layout of the first paragraph is already correct)
|
||||
|
||||
- fix bug with graphics files which name contain a '.'
|
||||
|
||||
- when a viewer has not been found (set to "none"), remove the
|
||||
corresponding View menu entry
|
||||
|
||||
- fix placement of cursor with mouse in presence of hfills
|
||||
|
||||
- the reference dialog now lists the labels of the current buffer
|
||||
|
||||
- fix the thesaurus dialog so that it can be closed with the Escape key
|
||||
|
||||
- fix drawing problem when a line of text contains both left-to-right
|
||||
|
Loading…
Reference in New Issue
Block a user