LyXParagraph::size_type pos) const;
///
void SetCharFont(Buffer const *, LyXParagraph * par,
- LyXParagraph::size_type pos,
- LyXFont const & font);
+ LyXParagraph::size_type pos, LyXFont const & font);
+ void SetCharFont(BufferView *, LyXParagraph * par,
+ LyXParagraph::size_type pos,
+ LyXFont const & font, bool toggleall);
/// returns a pointer to the very first LyXParagraph
LyXParagraph * FirstParagraph() const;
Returns true if something was broken. */
bool FullRebreak(BufferView *);
-#ifndef NEW_INSETS
- ///
- LyXParagraph::footnote_flag GetFootnoteFlag(int row);
-#endif
///
Row * need_break_row;
///
///
mutable LyXCursor sel_cursor;
///
- LyXCursor sel_start_cursor;
+ mutable LyXCursor sel_start_cursor;
///
mutable LyXCursor sel_end_cursor;
/// needed for the toggling
};
/// Change the case of the word at cursor position.
void ChangeWordCase(BufferView *, TextCase action);
-
+ void TransposeChars(BufferView const &);
+
/** returns a printed row in a pixmap. The y value is needed to
decide, wether it is selected text or not. This is a strange
solution but faster.
void GetVisibleRow(BufferView *, int y_offset, int x_offset,
Row * row_ptr, int y, bool cleared=false);
-#ifndef NEW_INSETS
- /* footnotes: */
- ///
- void ToggleFootnote(BufferView *);
- ///
- void OpenStuff(BufferView *);
- ///
- void OpenFootnotes();
- ///
- void OpenFootnote(BufferView *);
- ///
- void CloseFootnotes();
- ///
- void CloseFootnote(BufferView *);
-
- /** turn the selection into a new environment. If there is no
- selection, create an empty environment
- */
- void InsertFootnoteEnvironment(BufferView *,
- LyXParagraph::footnote_kind kind);
- ///
- void MeltFootnoteEnvironment(BufferView *);
-#endif
///
void CutSelection(BufferView *, bool = true);
///
LyXAlignment align,
string labelwidthstring,
bool noindent);
-#ifndef NO_PEXTRA
- ///
- void SetParagraphExtraOpt(BufferView *, int type,
- string const & width,
- string const & widthp,
- int alignment, bool hfill,
- bool start_minipage);
-#endif
+
/* these things are for search and replace */
/** sets the selection over the number of characters of string,