]> git.lyx.org Git - lyx.git/blobdiff - src/update_flags.h
Account for old versions of Pygments
[lyx.git] / src / update_flags.h
index b18cabcb1b809d8126a28c36a19b203c9c77b6c5..2950a894d1d6853fd0fbdfb76720ecdc0d0d4f63 100644 (file)
@@ -16,12 +16,18 @@ namespace lyx {
 
 namespace Update {
        enum flags {
+               /// No screen update is needed.
                None = 0,
+               /// Recenter the screen around the cursor if is found outside the
+               /// visible area.
                FitCursor = 1,
+               /// Force a full screen metrics update.
                Force = 2,
+               /// Try to rebreak only the current paragraph metrics.
                SinglePar = 4,
-               MultiParSel = 8,
-               Decoration = 16
+               /// Only the inset decorations need to be redrawn, no text metrics
+               /// update is needed.
+               Decoration = 8
        };
 
 inline flags operator|(flags const f, flags const g)