Actions with selections
As we saw earlier, CTRL Space can be used to invoke autocompletion, but if multiple entire lines are selected while pressing it, then other functionalities appear in the popup list.
Alignment to '='
# 2022 people = 3 price per day = $26 days = 4 cost is people * price per day * days
Select the 2nd, 3rd, and 4th lines, and press Ctrl space. From the popping-up options, choose Align to =
.
This aligns the equal signs under each other in the selected lines, thereby increasing readability.
The result should look like this:
# 2022
people = 3
price per day = $26
days = 4
cost is people * price per day * days
Copy as plain text
As discussed in the copy section, copying selected text with CTRL C places a format on the clipboard that is designed to be inserted into a NoteCalc note,
not for sharing the note in a readable form (as a traditional editor would behave in this situation).
Therefore, if you need the latter, select the lines you wish to copy and after pressing CTRL Space, choose the Copy as plain text
option.
Copying with simple CTRL C would result in the following:
{[#2,d]} people = 3
{[#3,d]} price per day = $26
{[#4,d]} days = 4
While using Copy as plain text
, results in:
people = 3
price per day = $26
days = 4