* 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:
Georg Baum 2007-01-28 19:17:59 +00:00
parent af02b781bc
commit 8b90b75501

View File

@ -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());