]> git.lyx.org Git - features.git/commitdiff
Document itemize bullets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Apr 2019 10:03:24 +0000 (12:03 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Apr 2019 10:03:24 +0000 (12:03 +0200)
Make the unicode value explicit as we do elsewhere.

Also change the value used for labeliv, since the current one may be
square with some fonts.

src/Buffer.cpp

index 388fbe16e138d462bb782cad40d6186e30b321d2..854dd736b8d5a2e80e38623eda76daf978968c21 100644 (file)
@@ -5153,16 +5153,20 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
                docstring itemlabel;
                switch (par.itemdepth) {
                case 0:
+                       // • U+2022 BULLET
                        itemlabel = char_type(0x2022);
                        break;
                case 1:
+                       // – U+2013 EN DASH
                        itemlabel = char_type(0x2013);
                        break;
                case 2:
+                       // ∗ U+2217 ASTERISK OPERATOR
                        itemlabel = char_type(0x2217);
                        break;
                case 3:
-                       itemlabel = char_type(0x2219); // or 0x00b7
+                       // · U+00B7 MIDDLE DOT
+                       itemlabel = char_type(0x00b7);
                        break;
                }
                par.params().labelString(itemlabel);