mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Document itemize bullets
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.
This commit is contained in:
parent
283ac91aa7
commit
5e2b24c2a9
@ -5153,16 +5153,20 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
|
|||||||
docstring itemlabel;
|
docstring itemlabel;
|
||||||
switch (par.itemdepth) {
|
switch (par.itemdepth) {
|
||||||
case 0:
|
case 0:
|
||||||
|
// • U+2022 BULLET
|
||||||
itemlabel = char_type(0x2022);
|
itemlabel = char_type(0x2022);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
// – U+2013 EN DASH
|
||||||
itemlabel = char_type(0x2013);
|
itemlabel = char_type(0x2013);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
// ∗ U+2217 ASTERISK OPERATOR
|
||||||
itemlabel = char_type(0x2217);
|
itemlabel = char_type(0x2217);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
itemlabel = char_type(0x2219); // or 0x00b7
|
// · U+00B7 MIDDLE DOT
|
||||||
|
itemlabel = char_type(0x00b7);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
par.params().labelString(itemlabel);
|
par.params().labelString(itemlabel);
|
||||||
|
Loading…
Reference in New Issue
Block a user