mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-04 08:37:52 +00:00
Whitespace, only whitespace...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ebaded261a
commit
c4762f9452
src
BufferView_pimpl.CChangeLogCutAndPaste.Ccursor.Cfactory.C
frontends
insets
lyxfunc.Clyxlength.Clyxrc.Cmathed
rowpainter.Csupport
@ -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);
|
||||
|
||||
|
@ -52,11 +52,11 @@
|
||||
|
||||
* 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
|
||||
@ -67,12 +67,12 @@
|
||||
(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
|
||||
@ -107,7 +107,7 @@
|
||||
* 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:
|
||||
@ -145,7 +145,7 @@
|
||||
* 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>
|
||||
@ -211,7 +211,7 @@
|
||||
|
||||
* 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:
|
||||
@ -253,13 +253,13 @@
|
||||
|
||||
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:
|
||||
@ -270,10 +270,10 @@
|
||||
* 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>
|
||||
@ -290,7 +290,7 @@
|
||||
* lyxfind.C
|
||||
* lyxfunc.C
|
||||
* paragraph_funcs.C
|
||||
* toc.C:
|
||||
* toc.C:
|
||||
* Makefile.am: adjust
|
||||
|
||||
2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
|
||||
@ -345,7 +345,7 @@
|
||||
|
||||
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>
|
||||
|
||||
@ -366,8 +366,8 @@
|
||||
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
|
||||
|
@ -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,
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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());
|
||||
|
@ -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>
|
||||
|
||||
|
@ -19,7 +19,7 @@ using std::string;
|
||||
|
||||
namespace {
|
||||
|
||||
string const printState(ButtonPolicy::State const & state)
|
||||
string const printState(ButtonPolicy::State const & state)
|
||||
{
|
||||
string output;
|
||||
|
||||
|
@ -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
|
||||
|
@ -83,19 +83,19 @@
|
||||
|
||||
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:
|
||||
@ -112,7 +112,7 @@
|
||||
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
|
||||
|
@ -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 &) {}
|
||||
|
@ -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>
|
||||
@ -96,11 +96,11 @@
|
||||
* 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
|
||||
@ -139,10 +139,10 @@
|
||||
|
||||
* 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>
|
||||
|
||||
@ -152,8 +152,8 @@
|
||||
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>
|
||||
@ -164,11 +164,11 @@
|
||||
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)
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -83,10 +83,10 @@
|
||||
* 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
|
||||
@ -111,7 +111,7 @@
|
||||
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>
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
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>
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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()/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -16,7 +16,7 @@ Inset hierarchy:
|
||||
|
||||
/ \
|
||||
|
||||
Nest Dots, Func, ...
|
||||
Nest Dots, Func, ...
|
||||
(for thing with
|
||||
nested content)
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
@ -56,7 +56,7 @@ private:
|
||||
void updateExpansion() const;
|
||||
///
|
||||
void expand() const;
|
||||
|
||||
|
||||
/// name of macro
|
||||
std::string name_;
|
||||
/// the unexpanded macro defintition
|
||||
|
@ -31,7 +31,7 @@ using std::string;
|
||||
using std::vector;
|
||||
|
||||
|
||||
MacroData::MacroData()
|
||||
MacroData::MacroData()
|
||||
: numargs_(0)
|
||||
{}
|
||||
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
|
||||
private:
|
||||
///
|
||||
std::string def_;
|
||||
std::string def_;
|
||||
///
|
||||
int numargs_;
|
||||
///
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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 ;-)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user