Bug 267354

Summary: Kate starts typing backwards unexpectedly
Product: [Applications] kate Reporter: SasQ <sasq1>
Component: indentationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description SasQ 2011-03-01 02:01:57 UTC
Version:           unspecified
OS:                Linux

(Kate 4.4.4 according to Gentoo Portage, but 3.4.5 according to Kate's own "About" dialog box.)

Sometimes during typing it suddenly starts typing backwards: characters appear on the right of the cursor and the rest of the line grows to the right; characters are typed right-to-left (backwards).

When it happens, I can move cursor to any other place and it still types backwards. The only way to restore normal typing is to close the file and reopen it again.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
Happens very very often.
I haven't figured out yet precisely when does it happen and what causes it, but it often starts when I press Enter key and Kate auto-indents wrongly, then it switches to backward-typing. So it's probably somehow related to some bug in the auto-indentation.

Actual Results:  
Wrong autoindent (eg. too long, many tabs instead of one), and after this, typing backwards - characters appear on the right of the cursor, in backward order.

Expected Results:  
Not switching to backward-typing (some right-to-left mode?) unexpectedly.
Comment 1 Erlend Hamberg 2011-03-01 07:07:55 UTC

*** This bug has been marked as a duplicate of bug 246162 ***