So I have (and have had) this problem when editing Android XML in eclipse. I've tried different versions of eclipse and different Android SDK's and entire re-downloads and whatnot but am still presented with this error. When editing an XML in eclipse, in a somewhat unpredictable manner, the text will randomly visibly misalign itself. The text itself is still in the same place, but it's rendered to be in different places. The problem doesn't go away unless I restart eclipse altogether.
The three pictures below are all of the exact same file without ANY modifications.
This picture is how it looks when I select All (ctrl+A)
This picture is how it looks when I deselect
And this last one is how it looks when I restart eclipse. Note that this is the proper look and it should be like this all of the time.
I've been experiencing these problems for a very long time and it's very irritating. I've also reinstalled Windows-7 x64 many times and the problem has never gone away. Please help?
I solved the problem formating the document: Right click on the editor window, from the menu select Source -> format or, in short: Ctrl+Shift+F
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With