]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.h
"Inter-word Space"
[lyx.git] / src / bufferview_funcs.h
index b847825df38b2625ae7cb5c825ec582917b99581..c0bade96251b9b9b6ae2a7a553f0b9fe90b63234 100644 (file)
@@ -48,8 +48,12 @@ enum DEPTH_CHANGE {
        DEC_DEPTH
 };
 
-/// change the nesting depth of the selection
-extern void changeDepth(BufferView *, LyXText *, DEPTH_CHANGE);
+/**
+ * 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 *);