From 61304898b5c455037ab7705d1433cfb8adb31d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 9 Mar 2022 17:55:53 +0100 Subject: [PATCH] code_completion.md: formatting --- .../custom_language_support/code_completion.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/topics/reference_guide/custom_language_support/code_completion.md b/topics/reference_guide/custom_language_support/code_completion.md index 335276b59..aeffd6822 100644 --- a/topics/reference_guide/custom_language_support/code_completion.md +++ b/topics/reference_guide/custom_language_support/code_completion.md @@ -47,9 +47,9 @@ These instances are typically created through the [`LookupElementBuilder`](upsou For every lookup element, you can specify the following attributes: -* Text. Shown left-aligned. -* Tail text. Shown next to the main item text, is not used for prefix matching, and can be used, for example, to show the parameter list of the method. -* Type text. Shown right-aligned in the lookup list and can be used to show the return type or containing class of a method, for example. -* Icon -* Text attributes. Bold, Strikeout, etc. -* Insert handler. The insert handler is a callback which is called when the item is selected and can be used to perform additional modifications of the text (for example, to put in the parentheses for a method call) +* **Text** Shown left-aligned. +* **Tail text** Shown next to the main item text, is not used for prefix matching, and can be used, for example, to show the parameter list of the method. +* **Type text** Shown right-aligned in the lookup list and can be used to show the return type or containing class of a method, for example. +* **Icon** +* **Text attributes** Bold, Strikeout, etc. +* **Insert handler** The insert handler is a callback which is called when the item is selected and can be used to perform additional modifications of the text (for example, to put in the parentheses for a method call)