(*** This bug was imported into bugs.kde.org ***)
Version: KDE 2.2.1
Installed from: Debian Packages
Compiler: Not Specified
OS/Compiler notes: Not Specified
It would be great if you could include a function to automatically check the spelling of a text. Look at StarOffice or Microsoft Word - red waves shows you instantly if you misspelled a word. It is very uncomfortable to do spellchecking manually. Lot's of KDE-programs would benefit from this including kate kmail and so on.
Thanks and keep up the good work
(Submitted via bugs.kde.org)
I use kate a lot ATM to write a manual for the Debian Installer in xml/sgml.
It would really be great if kate would add spell checking as-you-type like e.g. kmail does.
Would it be possible to have one or more settings that makes the spell checker ignore text in tags and comments?
Maybe also a configuration option to enable checking as-you-type only for selected file types (based on highlight mode?).
It would also be great if there would be an easy option to change the language for spellchecking without having to change kate's configuration (like the View/Dictionary option in kmail's Composer).
I think spell checking as-you-type is one of the very few missing features in kate.
Is this feature planned for kate in the near future....
I also would like this feature. The check boxes ar rather unproductive. If keywords can be colored, I do not see, why wrong words cannot be colored as easyly as the keywords. The spell checking interface is also there. Thanks, Eleonora
*** Bug 120859 has been marked as a duplicate of this bug. ***
There is a duplicate wish 136046 http://bugs.kde.org/show_bug.cgi?id=136046
*** Bug 136046 has been marked as a duplicate of this bug. ***
See related whish 80865
Spell check added on KDE4 version of kate
Is there a plan to add it too for KDE3?
I'm using the KDE4 version of kate, but I could not find the on-the-fly spell check. I even didn't find anything about it on the web. I rather think that your comment was a joke, right? ;)
If this major feature would be really implemented it would be mentioned on kate's homepage kate-editor.org and on many other websites. But there's nothing about an on-the-fly spell checker.
Well, this issue is about the auto / inline / on-the-fly spell check, because issues like bug 136046 has been marked as duplicates of this bug.
And now it's marked as RESOLVED and FIXED. Thus on-the-fly check has been implemented! Thank you very much! This was one of the most wanted kate features. I suppose most of the kate and kile fans here are already using the feature now.
Could someone tell me how to active it in kate or kile? What's the trick? ;)
This feature should be ON by the default (if it really implemented in KDE 4.
Could someone reopen this issue please because it has been accidentally marked as RESOLVED and FIXED.
Stefan Endrullis wrote:
> Could someone reopen this issue please because it has been accidentally
> marked as RESOLVED and FIXED.
Considering that this bug has quite a few votes, reopening it soon would be a much appreciated move. BTW: Automatic language-detection through Sonnet (if can really do that) would also be a nice feature in that context...
Reopened: automatic highlight of wrong words is not implemented yet.
Created attachment 27749 [details]
Use Firefox's inline spell checker
Been waiting for donkeys years for this ... its just un-hurd of!
In the mean time I'm using Firefox's spell checker with this textarea page.
Indeed! Most of the time there would be little using in having something powerful like Oo if this were available. rhinocerous <--see! useful!
*** Bug 138529 has been marked as a duplicate of this bug. ***
I'm not sure if it was suggested already, but I would really love to see this function i kate/kwrite.
And it should also be able to check spelling in source code comments _only_, to not to have whole window red with underlined syntax and function names and stuff, just the comments.
Guys, you might be pleased to hear that I've started to work on this...
Currently, there are some performance issues with the arbitrary highlighting that have to be resolved first. But after that basic on-the-fly spell checking should work.
That's great! Thank you very much, Michel.
Created attachment 31288 [details]
On-The-Fly Spellcheck v0.1
This is a first version of the on-the-fly spell checking functionality. Please note that it is not finished yet and there is still room for performance improvements.
I just want to see how well it works on other machines. Please try it out!
Created attachment 31300 [details]
On-The-Fly Spellcheck v0.11
Fixes a crash at start-up.
In kate folder on my computer (Ubuntu 8.10, kde4 only) I have the following folders and files: default.katesession externaltools icons kateui.rc on-the-fly-spellcheck.patch pics plugins tips . In particular, I have no dialogs, utils, and data folders, so I cannot apply the patch.
You would have to download the source files, basically the kdesupport, kdelibs and kdebase (for kwrite) modules.
You can find some instructions here:
Then, you would have to apply the patch on the 'kate' subdirectory in kdelibs.
Created attachment 31632 [details]
On-The-Fly Spellcheck v0.12
Updated patch which uses less SmartRanges for improved performance.
I also don't know how to apply the patch and I would really really need this feature!
Could somebody explain it step-by-step please, I am not the Linux geek (yet)
Thank you very much
Is there any reason why this is not in the official packages? I use KWrite pretty heavily and it sucks that it can't point out spelling mistakes as I type. Seeing as how kate/kwrite support plugins, could this not be added as one of the plugins?
> Is there any reason why this is not in the official packages?
Because it's not done yet.
Karli, I recommend you ask on a KDE forum for help with patching:
Created attachment 34960 [details]
On-The-Fly Spellcheck v0.13
Ok guys, here is new version with even better performance. In cases when there are lots of mistakes things can still get quite slow, though. I fear that the arbitrary highlighting mechanism in KatePart will have to optimised to remedy this.
Now it is also possible to use the highlighting system to specify which parts of text should be on-the-fly checked. I've introduced a new attribute "spellChecking" for "itemDatas" in the highlighting files. The patch demonstrates this new feature on LaTeX commands, which are no longer on-the-fly checked.
Finally, I'd be really happy if someone could try this whole thing out :). You can find set up and compilation instructions on http://techbase.kde.org. You will need to compile kdelibs (with the patch applied on KatePart) and for example, kwrite from kdebase.
SVN commit 992778 by cullmann:
add patch from Michel Ludwig for on-the-fly spell checking in katepart
seems to work nice, default off
still missing: config dialog page should provide way to switch language
M +7 -0 CMakeLists.txt
M +2 -0 data/katepartsimpleui.rc
M +2 -0 data/katepartui.rc
M +98 -0 dialogs/katedialogs.cpp
M +41 -0 dialogs/katedialogs.h
M +19 -4 document/katedocument.cpp
M +9 -0 document/katedocument.h
M +2 -2 syntax/data/latex.xml
M +11 -0 syntax/kateextendedattribute.cpp
M +5 -1 syntax/kateextendedattribute.h
M +13 -1 syntax/katehighlight.cpp
M +2 -0 syntax/katehighlight.h
M +25 -0 utils/kateconfig.cpp
M +5 -0 utils/kateconfig.h
M +9 -0 utils/kateglobal.cpp
M +12 -0 utils/kateglobal.h
M +57 -5 view/kateview.cpp
M +22 -0 view/kateview.h
M +4 -0 view/kateviewinternal.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=992778
Yay! So will this be in KDE 4.3.1 or 4.4.0? (I guess it definitely won't be in 4.3.0.)
> Yay! So will this be in KDE 4.3.1 or 4.4.0? (I guess it definitely won't be in
From the commit, it's "already" in 4.4.0. Since it is a feature, I don't think policy allows backporting it to 4.3.x, ergo I don't expect it to land there.
It will ship with KDE 4.4.
As a new feature, no backport allowed, anyways, there will be more fixes needed to this feature for 4.4.
If Michel or others want to provide more patches, just drop them on the kwrite-devel list.
Thanks again to Michel for the great work!!!
Are there any straightforward instructions for installing this patch? I can't find anything on techbase.kde.org as suggested by Michel.
Simply install latest Kate, it is included.
Wait until KDE 4.4 is officially released. This is the easiest way.
Thanks for this feature. I'm on KDE SC 4.4.3 now and it works great for me.
Thanks a lot for all efforts