summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2013-01-31 11:37:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-02-11 11:13:16 +0000
commit992f3ce06773cd05dbb66162f51408338d3db801 (patch)
tree3113eb5a6927facfc5d1546a568d1615c3913265
parenta6b1ed45fb5cf4ef192f0bb32adb8da963a51283 (diff)
Better default values for Word completion feature
http://nabble.documentfoundation.org/Libreoffice-ux-advise-Word-completion-default-value-td4031168.html Change-Id: Ifef07653c2155b3c26d65d41cae1164b44fbd04f Reviewed-on: https://gerrit.libreoffice.org/1937 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--editeng/source/misc/swafopt.cxx6
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Writer.xcs6
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index a416507e19a4..a3cba1b46b18 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -49,7 +49,7 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
bWithRedlining =
bAutoCmpltEndless =
bAutoCmpltAppendBlanc =
- bAutoCmpltShowAsTip = sal_False;
+ bAutoCmpltShowAsTip = sal_True;
bSetBorder =
bCreateTable =
@@ -76,8 +76,8 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
cByInputBullet = cBullet;
aByInputBulletFont = aBulletFont;
- nAutoCmpltWordLen = 10;
- nAutoCmpltListLen = 500;
+ nAutoCmpltWordLen = 8;
+ nAutoCmpltListLen = 1000;
m_pAutoCompleteList = 0;
pSmartTagMgr = 0;
}
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index 6fec206e3b35..8f987e0d3d6c 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -4782,7 +4782,7 @@
<desc>Sets the value for the minimum word length.</desc>
<label>Min. word length</label>
</info>
- <value>10</value>
+ <value>8</value>
</prop>
<prop oor:name="MaxListLen" oor:type="xs:int" oor:nillable="false">
<!-- OldPath: Writer/AutoComplete/Words -->
@@ -4793,7 +4793,7 @@
<desc>Sets the maximum number of words to be recalled.</desc>
<label>Max. entries</label>
</info>
- <value>500</value>
+ <value>1000</value>
</prop>
<prop oor:name="CollectWords" oor:type="xs:boolean" oor:nillable="false">
<!-- OldPath: Writer/AutoComplete/Words -->
@@ -4837,7 +4837,7 @@
<desc>Specifies if the suggestions for the automatic word completion function should be displayed as Tip helps.</desc>
<label>Show as tip</label>
</info>
- <value>false</value>
+ <value>true</value>
</prop>
<prop oor:name="AcceptKey" oor:type="xs:int" oor:nillable="false">
<!-- OldPath: Writer/AutoComplete/Words -->