D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread Christoph Cullmann
This revision was automatically updated to reflect the committed changes. Closed by commit R39:f2e7a22be5e5: KateSpellCheckDialog: Remove action Spellcheck Selection (authored by loh.tar, committed by cullmann). REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE

D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread Christoph Cullmann
cullmann accepted this revision. This revision is now accepted and ready to land. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D18663 To: loh.tar, #ktexteditor, cullmann Cc: cullmann, dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh,

D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread Christoph Cullmann
cullmann added a comment. ;=) given ::spellcheck() has the same magic, I don't think we really need to rename the function. And spellcheckSelectionOrFromCursor is a bit strange, too. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D18663 To: loh.tar,

D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread Dominik Haumann
dhaumann added a comment. In general I am ok eith this. Although it's a tiny bit less transparent to the user. INLINE COMMENTS > spellcheckdialog.cpp:74 > { > -spellcheck(m_view->cursorPosition()); > +if (m_view->selection()) { > +spellcheckSelection(); I don't like the

D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread loh tar
loh.tar added a comment. For my taste could be "Spelling (from cursor)" the only offered action (logic). Always to check from the start is rarely useful, but I guess no one like that idea. The current patch should cause no harm, except that someone need to reassign some shortcut or

D18663: KateSpellCheckDialog: Remove action "Spellcheck Selection"

2019-02-02 Thread loh tar
loh.tar created this revision. loh.tar added a reviewer: KTextEditor. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. loh.tar requested review of this revision. REVISION SUMMARY ...and add logic to "Spelling.." and "Spelling (from cursor)"