class LyXFont;
class LyXText;
+namespace bv_funcs {
+
+///
+void resizeInsets(BufferView * bv);
/** Set \param data using \param font and \param toggle.
* If successful, returns true.
*/
*/
void apply_freefont(BufferView * bv);
+/// what type of depth change to make
+enum DEPTH_CHANGE {
+ INC_DEPTH,
+ DEC_DEPTH
+};
+
+/**
+ * Increase or decrease the nesting depth of the selected paragraph(s)
+ * if test_only, don't change any depths. Returns whether something
+ * (would have) changed
+ */
+extern bool changeDepth(BufferView *, LyXText *, DEPTH_CHANGE, bool test_only);
///
extern void emph(BufferView *);
///
extern void tex(BufferView *);
///
-extern void changeDepth(BufferView *, LyXText *, int);
-///
extern void code(BufferView *);
///
extern void sans(BufferView *);
///
extern void toggleAndShow(BufferView *, LyXFont const &,
bool toggleall = true);
+/// replace selection with insertion
+extern void replaceSelection(LyXText * lt);
+}; // namespace bv_funcs
+
#endif