[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - sw/source
Jan Holesovsky
kendy at collabora.com
Wed Dec 14 12:59:10 UTC 2016
sw/source/uibase/uno/unotxdoc.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 21eb92b11761717bdff716d56362f2a96c16a83e
Author: Jan Holesovsky <kendy at collabora.com>
Date: Wed Dec 14 13:56:42 2016 +0100
Disable the auto-completion for LibreOfficeKit for good.
The editeng-like approach is terribly annoying when typing, particularly in
bullet lists.
Change-Id: I66175579f801fa028273d9680d7383d8eb37bf28
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index b99f5dc..efee6ae 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3280,8 +3280,9 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css::
// format
SvtSaveOptions().SetWarnAlienFormat(false);
- // show word auto completion suggestions in selection instead of tooltip
- SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags().bAutoCmpltShowAsTip = false;
+ // disable word auto-completion suggestions, the tooltips are not visible,
+ // and the editeng-like auto-completion is annoying
+ SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags().bAutoCompleteWords = false;
}
void SwXTextDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode)
More information about the Libreoffice-commits
mailing list