math compile cleanups + add bookmarks bindings for emacs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-02-13 16:40:19 +00:00
parent 13f58fa6ae
commit 7d7ec758c0
12 changed files with 46 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* bind/emacs.bind:
* bind/xemacs.bind: add bookmark commands.
2001-02-07 Allan Rae <rae@lyx.org> 2001-02-07 Allan Rae <rae@lyx.org>
* bind/emacs.bind: * bind/emacs.bind:

View File

@ -143,7 +143,12 @@
\bind "C-~S-greater" "reference-goto" \bind "C-~S-greater" "reference-goto"
\bind "C-~S-less" "bookmark-goto 0" \bind "C-~S-less" "bookmark-goto 0"
\bind "C-~S-1" "bookmark-goto 1"
\bind "C-~S-2" "bookmark-goto 2"
\bind "C-~S-3" "bookmark-goto 3"
\bind "C-M-~S-1" "bookmark-save 1"
\bind "C-M-~S-2" "bookmark-save 2"
\bind "C-M-~S-3" "bookmark-save 3"
# The below are xemacs bindings # The below are xemacs bindings
#\bind "Home" "line-begin" #\bind "Home" "line-begin"

View File

@ -158,6 +158,12 @@
\bind "C-~S-greater" "reference-goto" \bind "C-~S-greater" "reference-goto"
\bind "C-~S-less" "bookmark-goto 0" \bind "C-~S-less" "bookmark-goto 0"
\bind "C-~S-1" "bookmark-goto 1"
\bind "C-~S-2" "bookmark-goto 2"
\bind "C-~S-3" "bookmark-goto 3"
\bind "C-M-~S-1" "bookmark-save 1"
\bind "C-M-~S-2" "bookmark-save 2"
\bind "C-M-~S-3" "bookmark-save 3"
# #
# Motion + select group # Motion + select group

View File

@ -1,3 +1,17 @@
2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Makefile.am (libmathed_la_SOURCES): remove duplicate
math_sqrtinset.
* support.C:
* math_xiter.C:
* math_parinset.C: add a bunch of "using" directives.
* math_funcinset.h:
* math_decorationinset.h:
* math_bigopinset.h:
* math_spaceinset.h: remove more couples of inline.
2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org> 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_xiter.h: remove a couple of "inline" * math_xiter.h: remove a couple of "inline"

View File

@ -56,8 +56,6 @@ libmathed_la_SOURCES = \
math_rowst.h \ math_rowst.h \
math_spaceinset.C \ math_spaceinset.C \
math_spaceinset.h \ math_spaceinset.h \
math_sqrtinset.C \
math_sqrtinset.h \
math_symbols.C \ math_symbols.C \
math_utils.C \ math_utils.C \
math_write.C \ math_write.C \

View File

@ -18,9 +18,9 @@ public:
/// ///
void Metrics(); void Metrics();
/// ///
inline bool GetLimits() const; bool GetLimits() const;
/// ///
inline void SetLimits(bool); void SetLimits(bool);
protected: protected:
/// ///
int lims; int lims;

View File

@ -17,7 +17,7 @@ public:
/// ///
void Metrics(); void Metrics();
/// ///
inline bool GetLimits() const; bool GetLimits() const;
protected: protected:
/// ///
int deco; int deco;

View File

@ -23,7 +23,7 @@ public:
/// ///
void Metrics(); void Metrics();
/// ///
inline bool GetLimits() const; bool GetLimits() const;
protected: protected:
/// ///
int ln; int ln;

View File

@ -11,6 +11,8 @@
#include "math_rowst.h" #include "math_rowst.h"
#include "math_parinset.h" #include "math_parinset.h"
using std::endl;
extern int number_of_newlines; extern int number_of_newlines;

View File

@ -15,9 +15,9 @@ public:
/// ///
void Write(std::ostream &, bool fragile); void Write(std::ostream &, bool fragile);
/// ///
inline void Metrics(); void Metrics();
/// ///
inline void SetSpace(int sp); void SetSpace(int sp);
/// ///
int GetSpace() { return space; } int GetSpace() { return space; }
protected: protected:

View File

@ -6,6 +6,7 @@
#include "array.h" #include "array.h"
#include "mathed/support.h" #include "mathed/support.h"
using std::endl;
MathedXIter::MathedXIter() MathedXIter::MathedXIter()
: MathedIter(), sx(0), sw(0) : MathedIter(), sx(0), sw(0)

View File

@ -10,6 +10,11 @@
#include "matriz.h" #include "matriz.h"
#include "symbol_def.h" #include "symbol_def.h"
using std::sort;
using std::lower_bound;
using std::endl;
using std::max;
extern LyXFont WhichFont(short type, int size); extern LyXFont WhichFont(short type, int size);
char const * math_font_name[] = { char const * math_font_name[] = {