source/text/shared/optionen/BasicIDE.xhp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0f2ed56c7a3e1b11a2498b62fa14fa596438b3c8
Author:     Stéphane Guillou <stephane.guil...@libreoffice.org>
AuthorDate: Wed Nov 29 09:31:07 2023 +0100
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Wed Nov 29 12:42:35 2023 +0100

    Code Completion requires Use Extended Types
    
    even though it is mentioned in the last section.
    Also, fix two typos.
    
    Change-Id: I2ccc2b6f1cd5bab7975ae151a29b7477af8e3c83
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160033
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/shared/optionen/BasicIDE.xhp 
b/source/text/shared/optionen/BasicIDE.xhp
index 99857f978f..92b287416b 100644
--- a/source/text/shared/optionen/BasicIDE.xhp
+++ b/source/text/shared/optionen/BasicIDE.xhp
@@ -49,7 +49,7 @@
 <paragraph id="par_id2607201514295746" role="paragraph" xml-lang="en-US">This 
feature helps the Basic programmer to complete the code, saves extensive typing 
and helps to reduce coding errors.</paragraph>
 
 <h3 id="par_id2507201509433497">Enable code completion</h3>
-<paragraph id="par_id2507201509570245" role="paragraph" 
xml-lang="en-US"><ahelp 
hid="cui/ui/optbasicidepage/codecomplete_enable">Display methods of a Basic 
object.</ahelp> Code completion will display the methods of a Basic object, 
provided the object is a UNO extended type. Its does not work on a generic 
<item type="literal">Object</item> or <item type="literal">Variant</item> Basic 
types.</paragraph>
+<paragraph id="par_id2507201509570245" role="paragraph" 
xml-lang="en-US"><ahelp 
hid="cui/ui/optbasicidepage/codecomplete_enable">Display methods of a Basic 
object.</ahelp> Code completion will display the methods of a Basic object, 
provided the object is a UNO extended type, and the option "Use extended types" 
is also on. It does not work on a generic <item type="literal">Object</item> or 
<item type="literal">Variant</item> Basic types.</paragraph>
 <paragraph id="par_id2507201516150454" role="paragraph" xml-lang="en-US">When 
a variable is a UNO interface or structure, a list box appears when pressing 
the dot after a variable's name (like <item type="literal">aVar.</item> [list 
box appears] ). Its methods and variables are listed in the list box, displayed 
just below. You can navigate between the suggested methods and variables with 
the arrow keys. To insert the selected entry, press the <item 
type="keycode">Enter</item> key or double click on it with the mouse. To cancel 
the list box, press the <item type="keycode">Esc</item> key.</paragraph>
 <paragraph id="par_id2507201516150494" role="paragraph" xml-lang="en-US">When 
typing the method's name, and pressing the <item type="keycode">Tab</item> key 
once, it will complete the selected entry, pressing the Tab key again will 
cycle through the matches with the longest prefix. For example, when <item 
type="literal">aVar.aMeth</item> is typed, it will cycle through <item 
type="literal">aMeth1, aMethod2, aMethod3</item> entries, and other entries are 
not hidden.</paragraph>
 <paragraph id="par_id2507201516150482" role="paragraph" 
xml-lang="en-US">Example:</paragraph>
@@ -81,7 +81,7 @@
 <h2 id="hd_id2507201509433412">Language Features</h2>
 
 <h3 id="hd_id2507201509433456">Use extended types</h3>
-<paragraph id="par_id2507201516150463" role="paragraph" 
xml-lang="en-US"><ahelp hid="cui/ui/optbasicidepage/extendedtypes_enable">Allow 
UNO object types as valid Basic types.</ahelp> This feature extend the Basic 
programming language standard types with the %PRODUCTNAME UNO types. This 
allows the programmer to define variables with the right UNO type and is 
necessary for the code completion feature.</paragraph>
+<paragraph id="par_id2507201516150463" role="paragraph" 
xml-lang="en-US"><ahelp hid="cui/ui/optbasicidepage/extendedtypes_enable">Allow 
UNO object types as valid Basic types.</ahelp> This feature extends the Basic 
programming language standard types with the %PRODUCTNAME UNO types. This 
allows the programmer to define variables with the right UNO type and is 
necessary for the code completion feature.</paragraph>
 <paragraph id="par_id2507201516150472" role="paragraph" 
xml-lang="en-US">Example: </paragraph>
 <embed href="text/sbasic/shared/code-stubs.xhp#BasicIDEOption04"/>
 <paragraph id="par_id2507201516150422" role="warning" xml-lang="en-US">The use 
of UNO Extended Types in Basic programs can restrain interoperability of the 
program when executed in other office suites.</paragraph>

Reply via email to