]> git.lyx.org Git - features.git/commitdiff
Whitespace, only whitespace...
authorAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:51:15 +0000 (08:51 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:51:15 +0000 (08:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8

32 files changed:
src/BufferView_pimpl.C
src/ChangeLog
src/CutAndPaste.C
src/cursor.C
src/factory.C
src/frontends/ChangeLog
src/frontends/controllers/ButtonPolicies.C
src/frontends/controllers/ChangeLog
src/frontends/gtk/ChangeLog
src/frontends/nullpainter.h
src/frontends/qt2/ChangeLog
src/frontends/qt2/QPrefs.C
src/frontends/xforms/ChangeLog
src/frontends/xforms/FormPreferences.C
src/frontends/xforms/forms/README
src/frontends/xforms/forms/fdfixc.sed
src/frontends/xforms/forms/fdfixh.sed
src/insets/insetbase.C
src/insets/render_graphic.C
src/lyxfunc.C
src/lyxlength.C
src/lyxrc.C
src/mathed/README
src/mathed/math_data.C
src/mathed/math_gridinset.C
src/mathed/math_macro.h
src/mathed/math_macrotable.C
src/mathed/math_macrotable.h
src/rowpainter.C
src/support/ChangeLog
src/support/filetools.C
src/support/path_defines.C.in

index d264edeb592a4926473bfdd5cc467cbe0754a5c1..8144d511db9e24e0b42bd82ad1f4d0b78a362095 100644 (file)
@@ -885,7 +885,7 @@ bool BufferView::Pimpl::workAreaDispatch(FuncRequest const & cmd0)
                inset->dispatch(cur, cmd);
 
        // Now dispatch to the temporary cursor. If the real cursor should
-       // be modified, the inset's dispatch has to do so explicitly. 
+       // be modified, the inset's dispatch has to do so explicitly.
        if (!res.dispatched())
                res = cur.dispatch(cmd);
 
index 577e362defde55fa4f3554caa61cd9a1f35556c2..2fd3e76a029a11eeb8da86a6ae03799400cc56eb 100644 (file)
 
        * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
        setBuffer()
-       
+
 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
 
        * BufferView.C (setCursor): call redoParagraph (some insets could
-       have been opened) 
+       have been opened)
        (putSelectionAt): remove the 'double update' trick
 
        * BufferView_pimpl.C (fitCursor): call refreshPar
        (selHandle): set noUpdate when appropriate
 
        * lyxfunc.C (dispatch): track if we need an update
-       
+
        * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
 
        * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
        (paintSelection): cheap optimization, do not call cursorX when not
-       needed 
+       needed
        (paintPars): change signature
        (refreshPar): add
        (paintText): adjust
        * cursor_slice.C: more agressive assert
 
        * lyxfunc.C:
-       * BufferView_pimpl.C: rework mouse event dispatch 
+       * BufferView_pimpl.C: rework mouse event dispatch
 
        * dociterator.C:
        * paragraph.C:
        * BufferView_pimpl.[Ch] (getStatus)
        * BufferView.[Ch] (getStatus): add
        * lyxfunc.C (getStatus): move lfuns handled in
-       BufferView::dispatch to te function above 
+       BufferView::dispatch to te function above
        * Cursor.C (setSelection): set selection() = true
 
 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
 
        * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
        has died. Fall through to the generic Dialogs::show("document").
-       
+
 2004-03-30  Angus Leeming  <leeming@lyx.org>
 
        * lfuns.h:
 
 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * dociterator.[Ch]: add an inset_ member 
+       * dociterator.[Ch]: add an inset_ member
        (backwardPos): implemented
        (backwardPos, forwardPos): use inset_ when the stack is empty.
        (doc_iterator_begin, doc_iterator_end): implemented
        * pariterator.[Ch]: adjust, add begin, end
        * insetiterator.[Ch]: adjust, add begin, end
-       * cursor.C: 
+       * cursor.C:
        * document.C:
        * BufferView.C:
        * BufferView_pimpl.C:
        * buffer.C: increment file format to 232.
        * LaTeXFeatures.C: add bibtopic package.
        * bufferparams.[Ch]: param \use_bibtopic.
-       
+
        * lyxrc.[Ch]: add lyxrc bibtex_command
        * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
-       
+
        * buffer.C: increment file format to 231.
 
 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
        * lyxfind.C
        * lyxfunc.C
        * paragraph_funcs.C
-       * toc.C:  
+       * toc.C:
        * Makefile.am: adjust
 
 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
 
 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
+       * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
 
 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
             Martin Vermeer  <martin.vermeer@hut.fi>
 
-       * lyxfunc.C (dispatch): 
-       * bufferparams.C (readToken): use the new LColor::setColor 
+       * lyxfunc.C (dispatch):
+       * bufferparams.C (readToken): use the new LColor::setColor
 
        * LColor.[Ch] (setColor): new version that takes two strings as
        argument and creates a new color entry if necessary
index 2ed08ebf0af767acdbefa06733b1e3b6a63a79a6..76bb471f8288dc84ecffa1761e820ab30ba981b9 100644 (file)
@@ -455,7 +455,7 @@ void cutSelection(LCursor & cur, bool doclear, bool realcut)
                                bp.textclass);
                }
 
-               boost::tie(endpit, endpos) = 
+               boost::tie(endpit, endpos) =
                        eraseSelectionHelper(bp,
                                text->paragraphs(),
                                begpit, endpit,
index 82bfc82d6a8842fd6d0b3dfe4d64a0867ff7aa6b..0339843e9df8848161c45f034ba90204678cbeb5 100644 (file)
@@ -390,7 +390,7 @@ void LCursor::selHandle(bool sel)
                //      noUpdate();
                return;
        }
-       
+
        resetAnchor();
        selection() = sel;
 }
@@ -718,7 +718,7 @@ void LCursor::macroModeClose()
        if (macro && macro->getInsetName() == name)
                lyxerr << "can't enter recursive macro" << endl;
 
-       niceInsert(createMathInset(name));      
+       niceInsert(createMathInset(name));
 }
 
 
index 3d478132f0dbefe6b7101ae5d6f9c6ddd5d68a30..42a61848c4bfdfc1eae7c422c0342784c4edf7b1 100644 (file)
@@ -469,8 +469,8 @@ InsetBase * readInset(LyXLex & lex, Buffer const & buf)
                }
 
                inset->read(buf, lex);
-       
-#warning hack..        
+
+#warning hack..
                if (inset->lyxCode() == InsetBase::MATHMACRO_CODE) {
                        MathMacroTemplate const * tmpl =
                                static_cast<MathMacroTemplate*>(inset.get());
index 33ff341bc5a43db2e69b585a2914dbc599395936..abd5a264ab9128698fc7f2605bd1074d09ebfbef 100644 (file)
@@ -13,7 +13,7 @@
 
        * Painter.[Ch]: remove Painter & return value everywhere, make
        virtual all remaining nonvirtual methods
-       
+
        * nullpainter.[Ch]: add no-op painter
 
 2004-04-05  Angus Leeming  <leeming@lyx.org>
@@ -83,7 +83,7 @@
        * screen.[Ch] (fitCursor): use LCursor::getDim, simplify
        (fitManualCursor): remove
        (topCursorVisible): remove
-       
+
 
 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
 
@@ -91,7 +91,7 @@
 
 2003-11-10  André Pönitz  <poenitz@gmx.net>
 
-       * screen.C: adjust to removed inset locking 
+       * screen.C: adjust to removed inset locking
 
 2003-10-14  Angus Leeming  <leeming@lyx.org>
 
index 1b5e2ca9cc9013171c053bb12c3cba6bd118ed96..e077364a7edcbe08fc6b1ec60701005296dbda26 100644 (file)
@@ -19,7 +19,7 @@ using std::string;
 
 namespace {
 
-string const printState(ButtonPolicy::State const & state) 
+string const printState(ButtonPolicy::State const & state)
 {
        string output;
 
index eb8aa9dd8a18e806e462a70a0bb6a856e8a9b6c7..367742ba591cbe082cfbcb598d9d9ee14e159307 100644 (file)
@@ -5,7 +5,7 @@
 2004-04-07  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * ControlDocument.C: 'assign' for opening/closing branch insets
-       according to selection 
+       according to selection
 
 2004-04-05  Angus Leeming  <leeming@lyx.org>
 
@@ -15,7 +15,7 @@
        state machine on receipt of SMI_CANCEL/SMI_HIDE if the existing
        state is APPLIED, then let this state persist. Next time that the
        dialog is opened, the user will be able to press 'Save'.
-       
+
 2004-04-05  Angus Leeming  <leeming@lyx.org>
 
        * ControlPrefs.C (dispatchParams): ignore system_lyxrc when writing
index ae250f8e975db84a72ad24cf0022a2f1045eb307..4db0e39d7f32aad58b004f2ce49786d8149739a8 100644 (file)
 
 2004-02-07  Huang Ying <hying_caritas@163.com>
 
-       * GViewBase.C : add addCancel, addOK, addApply, add Restore to 
+       * GViewBase.C : add addCancel, addOK, addApply, add Restore to
        facilitate setup buttons signal.
        * GAboutLyx.C : using addxxx series functions.
        * GTableCreate.C : using addxxx series functions.
        * GText.C : using addxxx series functions.
        * GUrl.C : using addxxx series functions.
-       
+
 2004-02-02  Huang Ying <hying_caritas@163.com>
 
-       * GAboutLyx.C : the "CREDITS" is in "ISO8859-1" charset not locale 
+       * GAboutLyx.C : the "CREDITS" is in "ISO8859-1" charset not locale
        charset, so change the convert function from Glib::locale_to_utf8
        to Glib::convert(credit, "UTF-8", "ISO8859-1").
-       
+
 2003-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * Dialogs.C:
        fronetends to prevent layouts widget from disable always.
 
 2003-10-28  Huang Ying  <hying_caritas@163.com>
-       
+
         * codeConvert.h (etc): Change FcChar to XftChar according to the libxft
         interface changing.
        * FileDialogPrivate.C : get rid of button support in FileDialog
index 821a3543d93d3c4bdfd7c0f5334088be1ec10712..5b5ae13b25737ad5b5d139d80dd99170b71895e8 100644 (file)
@@ -21,7 +21,7 @@ class NullPainter : public Painter {
 public:
        ///
        NullPainter() {}
-       
+
        virtual ~NullPainter() {}
 
        /// begin painting
@@ -29,11 +29,11 @@ public:
        /// end painting
        void end() {}
 
-       /// 
+       ///
        int paperWidth() const { return 0; }
-       /// 
+       ///
        int paperHeight() const;
-       
+
        ///
        void line(int, int, int, int, LColor_color,
                       line_style = line_solid, line_width = line_thin) {}
@@ -43,20 +43,20 @@ public:
        ///
        void rectangle(int, int, int, int,      LColor_color,
                line_style = line_solid, line_width = line_thin) {}
-       /// 
+       ///
        void fillRectangle(int, int, int, int, LColor_color) {}
-       /// 
+       ///
        void fillPolygon(int const *, int const *, int, LColor_color) {}
-       /// 
+       ///
        void arc(int, int,      unsigned int, unsigned int,
                int, int, LColor_color) {}
-       /// 
+       ///
        void point(int, int, LColor_color) {}
-       /// 
+       ///
        void button(int, int, int, int) {}
-       /// 
+       ///
        void image(int, int, int, int, lyx::graphics::Image const &) {}
-       /// 
+       ///
        void text(int, int, std::string const &, LyXFont const &) {}
        ///
        void text(int, int, char const *, size_t, LyXFont const &) {}
index eabf3c32790101ceccd90e2810f29abb5ae2040a..7c0e106948402e5b6442349a3c13e1c85d9723c8 100644 (file)
@@ -48,7 +48,7 @@
 
 2004-04-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
-       * floatplacement.[Ch]: correct fix for enabling of placement 
+       * floatplacement.[Ch]: correct fix for enabling of placement
        values (bug 1016)
 
 2004-03-31  Angus Leeming  <leeming@lyx.org>
        * QDocument.C:
        * QDocumentDialog.C:
        * ui/BiblioModuleBase.ui: bibtopic support.
-       
+
        * QPrefs.C:
        * QPrefsDialog.C:
        * ui/QPrefsLaTeXModule.ui: customize bibtex call.
-       
+
        * QFloat.C:
        * QFloatDialog.C:
        * floatplacement.[Ch]: add support for sidewaysfloats
 
        * QCitation.C:
        * ui/QCitationDialogBase.ui: Support second \cite option.
-       
+
        * QDocumentDialog.C (branches): Don't deselect branch
        after button press.
-       * QBranch.C: fix off-by-one-error. 
+       * QBranch.C: fix off-by-one-error.
 
 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * QDocument.C:
-       * QDocumentDialog.C: 
-       * ui/LanguageModuleBase.ui: get rid of the single/double 
+       * QDocumentDialog.C:
+       * ui/LanguageModuleBase.ui: get rid of the single/double
        quote toggle (accessible via lfuns now).
 
 2004-02-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 2004-02-18  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * QCitation.[Ch]:
-       * QCitationDialog.[Ch]: open the find dialog if an inset is 
+       * QCitationDialog.[Ch]: open the find dialog if an inset is
        new (new method openFind()). Fixes bug 1146.
-       
+
        * QCitation.C: restore the chosen natbib style.
-       
+
        * QRef.C: Disable goto button if there is no ref (bug 1037)
        Restore setting of the buffer combo (bug 1511)
 
index bce074e77f9eb81e0447544caffcb40546398d66..f1c7b80320f0d04b71215d0edfbdaac10609dbe0 100644 (file)
@@ -192,7 +192,7 @@ void QPrefs::apply()
                rc.preview = LyXRC::PREVIEW_ON;
                break;
        }
-       
+
        lyx::graphics::DisplayType dtype(lyx::graphics::ColorDisplay);
 
        switch (displaymod->displayGraphicsCO->currentItem()) {
@@ -511,7 +511,7 @@ void QPrefs::update_contents()
                displaymod->instantPreviewCO->setCurrentItem(2);
                break;
        }
-       
+
        int item = 2;
 
        switch (rc.display_graphics) {
index 07875810ca78a947689cf3fc960204c0ebc9a5ba..81fd9b20371195791cba66d358a9b52837fd9caf 100644 (file)
        * FormDocument.[Ch]:
        * forms/form_bibtex.fd: bibtopic support.
        * forms/form_document.fd: radio default/natbib/jurabib.
-       
+
        * FormPreferences.C:
        * forms/form_preferences.fd: customize bibtex call.
-       
+
        * FormFloat.C:
        * forms/form_float.fd:
        add support for sidewaysfloats
 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * XLyXKeySym.C (print): new method; print a keysym using
-       kb_keymap::printKeySym. 
+       kb_keymap::printKeySym.
 
 2004-03-17  Angus Leeming  <leeming@lyx.org>
 
 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * FormDocument.C:
-       * forms/form_document.fd: get rid of the single/double 
+       * forms/form_document.fd: get rid of the single/double
        quote toggle (accessible via lfuns now).
 
 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
index 2d4f5e93594bb457fb0a5c123e41c7de8680fd2f..61d177d2c2f869cec73617f61c06a659caf6e25b 100644 (file)
@@ -1619,7 +1619,7 @@ void FormPreferences::LnFmisc::apply(LyXRC & rc) const
                rc.preview = LyXRC::PREVIEW_ON;
                break;
        }
-       
+
        rc.autosave = static_cast<unsigned int>
                (fl_get_counter_value(dialog_->counter_autosave));
        rc.wheel_jump = static_cast<unsigned int>
index 553eed26979c4bb37ce7ab1e692eeb25f2c74b77..c4e075ec663139e4fe3f5a41f869fbb3c6f153b9 100644 (file)
@@ -1,7 +1,7 @@
 All .fd files go in this directory.
 Each .fd file should have just one form in them
 
-NOTE: An exception to the above is any tabbed form which 
+NOTE: An exception to the above is any tabbed form which
       xforms requires multiple forms to create.  In that case
       the group of forms constitutes one gui form.
 
index 7137e3556f6d95c93b33c2aa6260eebf5b4346c7..e9780b0ea76efdaa5f5836aa390ca06241f3b5ac 100644 (file)
@@ -97,7 +97,7 @@ s/CHOICE/COMBOX/
 /fl_/ s/".[^|]*"/_(&).c_str()/
 
 
-#  For all lines containing "_shortcut" and a string containing |, 
+#  For all lines containing "_shortcut" and a string containing |,
 #  replace the string with scex(_(string)).c_str()
 /_shortcut/ s/".*[|].*"/scex(_(&)).c_str()/
 
index 6634d9703ef14382eb332954c5ac62741389b076..fa17837069aac01bbf162c1fea16af23793c569c 100644 (file)
@@ -56,13 +56,13 @@ s/extern \(.*\) create_form_form_\(.*\)[(]void[)]/\1 build_\2(void *)/
 # typedef struct {              struct FD_xxx : public FD_base {
 #      FL_FORM *form_xxx;              FL_OBJECT * some_obj;
 #      void *vdata;                    ...
-#      char *cdata;            };      
+#      char *cdata;            };
 #      long  ldata;
 #       FL_OBJECT *some_obj;
 #       ...
 # } FD_xxx;
 #
-# This is detailed more closely below 
+# This is detailed more closely below
 
 # We retain only those lines in the struct that start "        FL_OBJECT *",
 # placing them in the hold space until the end of the struct is reached
index f4f637e0a4064864a25616bb3d8bab95f83a1147..cf7e3604c36016d77a0d007750fcda869c3ada8d 100644 (file)
@@ -287,7 +287,7 @@ bool InsetBase::editing(BufferView * bv) const
 
 bool InsetBase::covers(int x, int y) const
 {
-       //lyxerr << "InsetBase::covers, x: " << x << " y: " << y 
+       //lyxerr << "InsetBase::covers, x: " << x << " y: " << y
        //      << " xo: " << xo() << " yo: " << yo()
        //      << " x1: " << xo() << " x2: " << xo() + width()
        //      << " y1: " << yo() - ascent() << " y2: " << yo() + descent()
index 5a75c3d06a7a723c6feb3e5845f0c22df39298e4..31d4605b117778504a61b4afb6e48a546a2712fc 100644 (file)
@@ -80,7 +80,7 @@ bool displayGraphic(graphics::Params const & params)
        return params.display != graphics::NoDisplay &&
                lyxrc.display_graphics != graphics::NoDisplay;
 }
-       
+
 
 string const statusMessage(graphics::Params const & params,
                           graphics::ImageStatus status)
index 3fa0f222ca7e23d88ca8594b4640a7c8d302e777..42d09b4fbcfa3ab553f54ebae855aaae21c06f75 100644 (file)
@@ -588,7 +588,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd, bool verbose)
        selection_possible = false;
 
        bool update = true;
-       
+
        // We cannot use this function here
        if (!getStatus(cmd).enabled()) {
                lyxerr[Debug::ACTION] << "LyXFunc::dispatch: "
@@ -1371,7 +1371,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd, bool verbose)
                                update |= res.update();
                        else
                                update |= view()->dispatch(cmd);
-                       
+
                        break;
                }
                }
index c461efd4755dd666661e2c7275aabafef4ceeadf..8ca01187834022cab315abb9dc14cd02622d6756 100644 (file)
@@ -64,20 +64,20 @@ string const LyXLength::asLatexString() const
        switch (unit_) {
        case PTW:
                snprintf(buffer, 78, "%.2f\\textwidth", val_/100.0);
-               break;                    
-       case PCW:                   
+               break;
+       case PCW:
                snprintf(buffer, 78, "%.2f\\columnwidth", val_/100.0);
-               break;                    
-       case PPW:                   
+               break;
+       case PPW:
                snprintf(buffer, 78, "%.2f\\paperwidth", val_/100.0);
-               break;                    
-       case PLW:                   
+               break;
+       case PLW:
                snprintf(buffer, 78, "%.2f\\linewidth", val_/100.0);
-               break;                    
-       case PPH:                   
+               break;
+       case PPH:
                snprintf(buffer, 78, "%.2f\\paperheight", val_/100.0);
-               break;                    
-       case PTH:                   
+               break;
+       case PTH:
                snprintf(buffer, 78, "%.2f\\textheight", val_/100.0);
                break;
        default:
index f79b9e679c9d80731f3f570c2835ba62932cfad2..f62f7a0ff013fc9a27253b2c9c9602c8c2dfd458 100644 (file)
@@ -787,9 +787,9 @@ int LyXRC::read(LyXLex & lexrc)
                                break;
                        }
 
-                       LColor::color const col = 
+                       LColor::color const col =
                                lcolor.getFromLyXName(lyx_name);
-                       if (col == LColor::none || 
+                       if (col == LColor::none ||
                            col == LColor::inherit ||
                            col == LColor::ignore)
                                break;
index f160b137e14bcaa228c21e06ee0fe5e078a2c093..788181b361ba7a30baab883c816c6ffe6def1d91 100644 (file)
@@ -16,7 +16,7 @@ Inset hierarchy:
 
           /             \
 
-       Nest              Dots,  Func, ... 
+       Nest              Dots,  Func, ...
   (for thing with
    nested content)
 
index b9e3e43d5aa8a68b4a4e17a4e931bd0135b98b57..c2b6e603467d414692ccd9b453c7eed59df5bc0a 100644 (file)
@@ -220,7 +220,7 @@ void MathArray::metrics(MetricsInfo & mi, Dimension & dim) const
 
 namespace {
 
-bool isInside(DocIterator const & it, MathArray const & ar, 
+bool isInside(DocIterator const & it, MathArray const & ar,
        lyx::pos_type p1, lyx::pos_type p2)
 {
        for (size_t i = 0; i != it.size(); ++i) {
index e4d35dd53f297e01d7891d1802c51e71f1fab1b6..168dc625b2b2b5452ef9057a7f8e3f246c0f9f86 100644 (file)
@@ -1027,7 +1027,7 @@ void MathGridInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
 
        // insert file functions
        case LFUN_DELETE_LINE_FORWARD:
-               recordUndo(cur);        
+               recordUndo(cur);
                //autocorrect_ = false;
                //macroModeClose();
                //if (selection_) {
@@ -1043,12 +1043,12 @@ void MathGridInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
                break;
 
        case LFUN_CELL_SPLIT:
-               recordUndo(cur);        
+               recordUndo(cur);
                splitCell(cur);
                break;
 
        case LFUN_BREAKLINE: {
-               recordUndo(cur);        
+               recordUndo(cur);
                row_type const r = cur.row();
                addRow(r);
 
@@ -1069,7 +1069,7 @@ void MathGridInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
        }
 
        case LFUN_TABULAR_FEATURE: {
-               recordUndo(cur);        
+               recordUndo(cur);
                //lyxerr << "handling tabular-feature " << cmd.argument << endl;
                istringstream is(cmd.argument);
                string s;
@@ -1129,7 +1129,7 @@ void MathGridInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
        }
 
        case LFUN_PASTE: {
-               recordUndo(cur);        
+               recordUndo(cur);
                lyxerr << "MathGridInset: PASTE: " << cmd << std::endl;
                istringstream is(cmd.argument);
                int n = 0;
index 8056c99175c658e89db9a94df580c5fc1405fe0b..28a184aa68ee99aa9bb4dd08100bbc78e0ad2378 100644 (file)
@@ -56,7 +56,7 @@ private:
        void updateExpansion() const;
        ///
        void expand() const;
-       
+
        /// name of macro
        std::string name_;
        /// the unexpanded macro defintition
index fe5d668965b65fc51286976ac90942144a1bb0ac..001b64e3aec59d62419b0363fcf620902ce3dba3 100644 (file)
@@ -31,7 +31,7 @@ using std::string;
 using std::vector;
 
 
-MacroData::MacroData() 
+MacroData::MacroData()
        : numargs_(0)
 {}
 
index 8f5abfb57e4f860b3c4c6eadd3661bda36b3da8b..4deb1cfde193d0d48cde40648d339865a61fe1ba 100644 (file)
@@ -37,7 +37,7 @@ public:
 
 private:
        ///
-       std::string def_;       
+       std::string def_;
        ///
        int numargs_;
        ///
index 4b7cc545ea4da1e593620aad8b3b2e8533bccf1a..3b703b58d49080700bb0b2ae5608b4e11e93481a 100644 (file)
@@ -878,7 +878,7 @@ int paintPars(BufferView const & bv, Painter & pain,
 
 void refreshPar(BufferView const & bv, LyXText const & text, par_type pit)
 {
-       
+
        static NullPainter nop;
        paintPars(bv, nop, text, pit, pit + 1);
 }
index 1642871fe8b4485191589f084150f28a410904a5..01dafe8de76889c86497a8acb2be8ce7e0f585c0 100644 (file)
@@ -30,7 +30,7 @@
        exception.
 
        * forkedcontr.C: make it a little more robust.
-       
+
 2004-03-24  Angus Leeming  <leeming@lyx.org>
 
        * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
index 37afe9116e285572c0ba41b8c0ec531b60aa8c30..fe020bdac9662e1c4dca54f5a88d1f36522ea755 100644 (file)
@@ -1176,7 +1176,7 @@ cmd_ret const RunCommand(string const & cmd)
        // FIXME: replace all calls to RunCommand with ForkedCall
        // (if the output is not needed) or the code in ispell.C
        // (if the output is needed).
-       
+
        // One question is if we should use popen or
        // create our own popen based on fork, exec, pipe
        // of course the best would be to have a
@@ -1190,7 +1190,7 @@ cmd_ret const RunCommand(string const & cmd)
 
        // Block the SIGCHLD signal.
        sigprocmask(SIG_BLOCK, &newMask, &oldMask);
-       
+
        FILE * inf = ::popen(cmd.c_str(), os::popen_read_mode());
 
        // (Claus Hentschel) Check if popen was succesful ;-)
index b746ec738731280bd21345cdfb926e66c8d56793..7cc73345ac08afda5b9d796ff93ba54cc599ee88 100644 (file)
@@ -190,7 +190,7 @@ bool setLyxPaths()
        }
 
        // Path of binary/../Resources/
-       searchpath += NormalizePath(AddPath(binpath, "../Resources/") + 
+       searchpath += NormalizePath(AddPath(binpath, "../Resources/") +
                                    OnlyFilename(binname)) + ';';
 
        string fullbinpath = binpath;
@@ -288,7 +288,7 @@ bool setLyxPaths()
                                    << system_lyxdir_ << '\'' << endl;
 
        //
-       // Set PATH for LyX/Mac 
+       // Set PATH for LyX/Mac
        // LyX/Mac is a relocatable application bundle; here we add to
        // the PATH so it can find binaries like reLyX inside its own
        // application bundle, and also append PATH elements that it