This commit is contained in:
uksla
2021-11-16 07:43:23 +03:00
parent 12096cb96d
commit bc09192aec
+13 -7
View File
@@ -397,26 +397,32 @@ When you add a text block using the click-and-drag method, Lunacy automatically
For this:
1. Select the text layer.
2. Click the **Generate text** in the Inspector or the text generation button on the top bar until you get the text that you find acceptable.
2. Click the **Generate text** button in the Inspector until you get the text that you find acceptable. Alternatively, you can use the `Shift+R` shortcut to refresh the content.
Alternatively, you can use the `Shift+R` shortcut to refresh the content.
![Generate text buttons](public/text-textgen1.png)
![Generate text buttons](public/text-textgen8.png)
To generate such texts as names, addresses, etc., proceed as follows.
**Way 1. Selecting from the menu**
1. Select the required text block.
2. Click the down arrowhead next to the **Generate text** button. A menu with text categories appears.
3. Use the menu to select the required content. If necessary, use the `Shift + R` shortcut or any of the **Generate text** buttons to refresh generated content.
2. In the Inspector, click the down arrowhead next to the **Generate text** button. A menu with text categories appears.
3. Use the menu to select the required content. If necessary, use the `Shift + R` shortcut or the **Generate text** button to refresh generated content.
![Generate text menu](public/text-textgenmenu.png)
![Generate text menu](public/text-textgenmenu8.png)
The **Auto Refresh** option on the menu enables/disables text generation in duplicated text blocks. With this option selected, when you duplicate a text block with an autogenerated text, the new block will contain a new text.
<video autoplay="" muted="" loop="" playsinline="" width="auto" poster="/public/text-refreshph.png" height="auto"><source src="/public/text-refresh.mp4" type="video/mp4"></video>
<!--
![Auto refresh](public/text-autogen2.gif)
-->
**Way 2. Using text snippets**
In Lunacy, text snippets are short commands for generation of specific texts. Snippets always begin with a semicolon (;) followed by a full or short form of the command. For instance, to generate an email address, you should type *;email* or *;em*. To generate a credit card number, type *;creditcard* or *;cr*, and so on. You can always look up the list of snippets on the menu with text categories (see the figure in *Way 1*) or in the shortcuts panel.