[liblouis-liblouisxml] lou_backTranslate issue

  • From: Dongyu <lidongyu08@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 17 Mar 2014 11:44:12 -0500

Hi,

I found an issue of lou_backTranslate when mode is 2,

set mode=2, cursor position=1;
input: "123"
use lou_translate to translate
output: "123"
then, use lou_backTranslate (mode==2)
get the output: ",;:"
and think the output after lou_backTranslate should be "123", right?

I also test some other case with lou_translate and lou_backTranslate, and
found that when mode is 2 and if the content at cursor position is a
number, the lou_backTranslate will meet some problems. This will not happen
when content at cursor position is a alphabet.

Are there any ways to solve this?

Thank you.

-- 
sent from Dongyu Li

Other related posts: