X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fupdate_flags.h;h=517bfb62e4ee9a64e7b4c1961a087c08fd11c369;hb=3bf1b97ae547aea5d0243e41b2d8af463a6e40c5;hp=a40e88c5567a1d200612478cdd835214208937b1;hpb=8d8988de475bf2055f253823e53fd5627be5de78;p=features.git diff --git a/src/update_flags.h b/src/update_flags.h index a40e88c556..517bfb62e4 100644 --- a/src/update_flags.h +++ b/src/update_flags.h @@ -26,11 +26,12 @@ namespace Update { /// Force a full redraw (but no metrics computations) ForceDraw = 4, /// Try to rebreak only the current paragraph metrics. - /// (currently ignored!) SinglePar = 8, /// Only the inset decorations need to be redrawn, no text metrics /// update is needed. - Decoration = 16 + Decoration = 16, + /// Force metrics and redraw for all buffers. + ForceAll = 32 }; inline flags operator|(flags const f, flags const g) @@ -45,7 +46,7 @@ inline flags operator&(flags const f, flags const g) inline flags operator~(flags const f) { - return static_cast(~int(f)); + return static_cast(~int(f) & 0x3f); } } // namespace Update