Summary: | spellchecker in kwrite and locale UTF8. Text aligning is wrong. | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Peter Volkov <torre_cremata> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Illustration of the problem. |
Description
Peter Volkov
2005-02-06 19:12:36 UTC
Created attachment 9452 [details]
Illustration of the problem.
Look in the picture. Red rectangular both in kspell's dialog and kwrite's
window shows wrong written word. You can see that blue highlighting of the text
is wrong in kwrite window. It's seems that the string's length calculation is
wrong...
Now look at the green rectangular. In kwrite's window you can see the whole
word, in kspell's dialog window it's cutted...
And you see the blue rectangular. It is the end of word in red rectangular
again...
Note: text is in utf8 encoding.
Thank you for your attention.
Oh. The same problem with kate. And more... When I replace word with sugdested variant the word inserts in the text in wrong place... Where kwrite highlightes text there it insertes it! Thank you for your attention, again, _________ Peter. And I hope the last, addition. Now I'm sure the problem is my locale! If I start kwrite like this: env LC_ALL=ru_RU.KOI8-R kwrite so emulating for libc(and maybe other libs) 8bit locale, spell checker highlightes text in the right place. Thank you again, for your work on kde. Could you look at http://bugs.kde.org/show_bug.cgi?id=86940 and see if this is similar? If so, that is beeing worked on in kdelibs/kspell. Yes. It is similar. So I think it's time to mark this bug as duplicate. Sorry. I really searched before posting. |