use custom font to display line breaks
This commit is contained in:
parent
3552077d5c
commit
45f4047d82
Binary file not shown.
After Width: | Height: | Size: 189 KiB |
Binary file not shown.
|
@ -20,8 +20,8 @@ namespace QSynedit {
|
|||
const QSet<QChar> WordBreakChars{'.', ',', ';', ':',
|
||||
'"', '\'', '!', '?', '[', ']', '(', ')', '{', '}', '^', '-', '=', '+',
|
||||
'-', '*', '/', '\\', '|'};
|
||||
const QChar TabGlyph(0x2192);
|
||||
const QChar SpaceGlyph(0x02FD);
|
||||
const QChar LineBreakGlyph(0x21A9);
|
||||
const QChar SoftBreakGlyph(0x2193);
|
||||
const QString TabGlyph{"\U000FFFFC"};
|
||||
const QString SpaceGlyph{"\U000FFFFD"};
|
||||
const QString LineBreakGlyph{"\U000FFFFB"};
|
||||
const QString SoftBreakGlyph{"\U000FFFFA"};
|
||||
}
|
||||
|
|
|
@ -22,10 +22,10 @@
|
|||
namespace QSynedit {
|
||||
|
||||
extern const QSet<QChar> WordBreakChars;
|
||||
extern const QChar SpaceGlyph;
|
||||
extern const QChar TabGlyph;
|
||||
extern const QChar LineBreakGlyph;
|
||||
extern const QChar SoftBreakGlyph;
|
||||
extern const QString SpaceGlyph;
|
||||
extern const QString TabGlyph;
|
||||
extern const QString LineBreakGlyph;
|
||||
extern const QString SoftBreakGlyph;
|
||||
|
||||
// names for token attributes
|
||||
#define SYNS_AttrAssembler "Assembler"
|
||||
|
|
Loading…
Reference in New Issue