Now I want to use wxTextCtrl:GetInsertionPoint() to get input point,but I found
that GetInsertionPoint is using character to count,not byte.So the result of
GetInsertionPoint() is not suitable to use in wxTextCtrl string ,because
wxTextCtrl string is lua string.

For example,the system default encoding is UTF-8,when wxTextCtrl string have
some muti-bytes character for example chinese characters,the GetInsertionPoint()
result can not use in lua string.

How can I do with this situation?
Thanks!


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to