mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
* src/text.C
(LyXText::currentState): Unicode debugging aid: Display UCS4 code point in devel builds git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16910 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af02b781bc
commit
8b90b75501
@ -1711,6 +1711,9 @@ docstring LyXText::currentState(LCursor & cur)
|
||||
os << _(", Paragraph: ") << cur.pit();
|
||||
os << _(", Id: ") << par.id();
|
||||
os << _(", Position: ") << cur.pos();
|
||||
// Force output of code point, not character
|
||||
size_t const c = par.getChar(cur.pos());
|
||||
os << _(", Char: 0x") << std::hex << c;
|
||||
os << _(", Boundary: ") << cur.boundary();
|
||||
// Row & row = cur.textRow();
|
||||
// os << bformat(_(", Row b:%1$d e:%2$d"), row.pos(), row.endpos());
|
||||
|
Loading…
Reference in New Issue
Block a user