Version: (using KDE KDE 3.4.0) Installed from: SuSE RPMs OS: Linux Sofar the autowrap function in kate is based on whitespaces, but "words being separated by spaces" is only the feature in western languages! In most asian languages like Chinese and Japanese, every single character is a word by meaning! So the autowrap function is annoying in many situations especially when paragraghs are mixed with Western and Non-Western characters! In one word, I think this function shall work according to the language being used.
Pretty much definitely will be fixed for KDE 4. Hopefully the Qt stuff will detect which line ending mechanism to use, if not we'll probably hardcode locale or encoding to the mechanism or make it user selectable.
Thank you for all your efforts! I just hope the K Software bundle more welcome all over the world! :)
but in current version, kedit's autowrap function is right, so, I think we can change the source codes to correct this problem. but I don't know where the code is that managed the autowrap words. Could someone give me some tips.
I did post this to kde-core-devel initially... In kdelibs/kate/part/katerenderer.cpp: uint KateRenderer::textWidth(const KateTextLine::Ptr &textLine, uint startcol, uint maxwidth, bool *needWrap, int *endX) This function calculates the length of the line which fits within maxwidth - feel free to adjust it, and post a patch to kwrite-devel@kde.org.
Is that still an issue in KDE4? Please someone with chinese encoding test this.
No feedback for 5 years...
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!