From 0f2ed56c7a3e1b11a2498b62fa14fa596438b3c8 Mon Sep 17 00:00:00 2001 From: Stéphane Guillou Date: Wed, 29 Nov 2023 09:31:07 +0100 Subject: 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 --- source/text/shared/optionen/BasicIDE.xhp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ This feature helps the Basic programmer to complete the code, saves extensive typing and helps to reduce coding errors.

Enable code completion

-Display methods of a Basic object. 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 Object or Variant Basic types. +Display methods of a Basic object. 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 Object or Variant Basic types. When a variable is a UNO interface or structure, a list box appears when pressing the dot after a variable's name (like aVar. [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 Enter key or double click on it with the mouse. To cancel the list box, press the Esc key. When typing the method's name, and pressing the Tab 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 aVar.aMeth is typed, it will cycle through aMeth1, aMethod2, aMethod3 entries, and other entries are not hidden. Example: @@ -81,7 +81,7 @@

Language Features

Use extended types

-Allow UNO object types as valid Basic types. 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. +Allow UNO object types as valid Basic types. 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. Example: The use of UNO Extended Types in Basic programs can restrain interoperability of the program when executed in other office suites. -- cgit