Community
Participate
Working Groups
When entering a new bug (such as this one), spelling mistakes are automatically underlined in description and comments, which is nice. However, this not the case for the summary line, which goes unchecked. Further, there is currently no way to invoke the auto-correct feature to have eclipse give me a spelling suggestion. I tried Apple-1 (Mac OS X) and Ctrl-1 (Linux), which works fine in the Java editor, but does nothing in the bug editor.
Yes, I would like to see this too. Need to mark as helpwanted for now but this is something that we really should add in the 3.0 cycle.
dupe of 155280
Updated description to reflect separation with bug 155280.
BTW, there is no spell checking in attachment dialog and in context attachment dialog too.
Created attachment 75019 [details] spell checking support for summary line I had a first go at this bug, using the addTextEditor() method of TaskFormPage, similar to the DescriptionLayout and CommentLayout methods. spell checking work, but behavious is different when using pressing the tab key on the keyboard, as it doesn't jump to the next section anymore but inserts a tab. Same behaviour as in the description and comment fields. didn't do the attachment dialog or context attachment dialog. I also noticed that for local tasks, spell checking doesn't work yet. Probably uses a different summary field.
Created attachment 75020 [details] mylyn/context/zip
Great first crack at this Raphael - reassigning to you. We should avoid changing api with this patch so could you simply change the implementation of AbstractRepositoryTaskEditor.addSummaryText() to do the right thing? Regarding use of tab, perhaps we could trap that key with a listener and move to the next composite?
*** Bug 155278 has been marked as a duplicate of this bug. ***
Raphael, should we expect a revised patch for this? Now that we have spelling recommendations (bug#155280) this would really help complete the story.
I haven't had time this week to work on it. but I've got a revised patch almost ready to submit. Will do so tonight or over the weekend.
Created attachment 75922 [details] Added TextViewer support to the summary field in both the task editor and the newTask editor Added TextViewer support which enables spell checking. Had to add a TabKeyListener to select the next control when the tab key is pressed, instead of adding a tab in the text.
Created attachment 75923 [details] mylyn/context/zip
Great, I'll look at this first thing tomorrow!
Excellent Raphael. Patch applied, ip log updated. Only some minor changes to names and added back support for setting background when summary has changed. One minor nit, rather than hard code the summary height we will need to make this based on the font height.
Created attachment 76388 [details] fix for summary size used SWT.SINGLE for summary widget and also added small indentation, so text in summary and description fields is don't stick to the left border.
Created attachment 76389 [details] mylyn/context/zip
That's great Eugene. Patch applied. Marking resolved.