[PATCH 3 of 3] more cursor RTL boundary fixes

2008-11-16 Thread Dov Feldstern
After inserting a character, cursor boundary was not being recalculated. This may have been OK up until now, but after the previous fix, there is now a case where the boundary *does* change as the result of a character insertion: abc\n - toggle to RTL - abc\n - insert A - abc\n (and

[PATCH 3 of 3] more cursor RTL boundary fixes

2008-11-16 Thread Dov Feldstern
After inserting a character, cursor boundary was not being recalculated. This may have been OK up until now, but after the previous fix, there is now a case where the boundary *does* change as the result of a character insertion: abc\n -> toggle to RTL -> abc\n -> insert A -> abc\n (and