lfun_core.diff, make insetgraphics inline

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3743 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-03-13 13:24:51 +00:00
parent dd0277f83d
commit 08bd49a344
10 changed files with 16 additions and 13 deletions

View File

@ -1,5 +1,7 @@
2002-03-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* README: add bulgarian
* configure.in (ALL_LINGUAS): add bg
2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>

2
README
View File

@ -132,6 +132,7 @@ Does LyX have support for non-English speakers/writers/readers?
bindings as well):
Basque (eu)
Bulgarian (bg)
Catalan (ca)
Czech (cs)
Danish (da)
@ -156,6 +157,7 @@ Does LyX have support for non-English speakers/writers/readers?
Keymaps can ease typing in one or more of the following languages:
Arabic
Bulgarian
Czech
French, Swiss French
German, Swiss German

View File

@ -2751,10 +2751,6 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
}
break;
case LFUN_INSET_TEXT:
insertAndEditInset(new InsetText(buffer_->params));
break;
case LFUN_INSET_ERT:
insertAndEditInset(new InsetERT(buffer_->params));
break;

View File

@ -1,3 +1,11 @@
2002-03-06 John Levon <moz@compsoc.man.ac.uk>
* commandtags.h:
* LyXAction.C:
* lyxfunc.C:
* BufferView_pimpl.C: remove unused LFUN_CORE,
LFUN_TEXT_INSET
2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Painter.C (display): anon helper function, adjust code for this

View File

@ -379,8 +379,6 @@ void LyXAction::init()
N_("Tabular Features"), Noop },
{ LFUN_INSET_TABULAR, "tabular-insert",
N_("Insert a new Tabular Inset"), Noop },
{ LFUN_INSET_TEXT, "text-insert",
N_("Insert a new Text Inset"), Noop },
#if 0
{ LFUN_INSET_THEOREM, "theorem-insert", "", Noop },
#endif

View File

@ -30,4 +30,3 @@ ostream & operator<<(ostream & o, Box const & b)
return o << "x1,y1: " << b.x1 << "," << b.y1
<< " x2,y2: " << b.x2 << "," << b.y2 << std::endl;
}

View File

@ -253,7 +253,6 @@ enum kb_action {
LFUN_HELP_OPEN, // 220 // Jug 990627
LFUN_DATE_INSERT, // jdblair 20000131
LFUN_LANGUAGE, // Dekel 20000203
LFUN_INSET_TEXT, // Jug 20000214
LFUN_INSET_ERT, // Jug 20000218
LFUN_INSET_GRAPHICS, // Lgb 20000226
LFUN_INSET_FOOTNOTE, // Jug 20000307

View File

@ -1,3 +1,7 @@
2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetgraphics.h: remove display() method.
2002-03-11 Juergen Vigna <jug@sad.it>
* insetgraphics.C (draw): hack to fix the redrawing bug.

View File

@ -44,8 +44,6 @@ public:
///
int width(BufferView *, LyXFont const &) const;
///
bool display() const { return true; }
///
void draw(BufferView *, LyXFont const &, int, float &, bool) const;
///
void edit(BufferView *, int, int, unsigned int);

View File

@ -568,9 +568,6 @@ FuncStatus LyXFunc::getStatus(kb_action action,
// the functions which insert insets
Inset::Code code = Inset::NO_CODE;
switch (action) {
case LFUN_INSET_TEXT:
code = Inset::TEXT_CODE;
break;
case LFUN_INSET_ERT:
code = Inset::ERT_CODE;
break;