> OctoPerf load testing - Quick search documentation page. How to search into blocks of text and the associated shortcuts.

Source: https://api.octoperf.com/doc/design/edit-virtual-user/code-editor/

# Code Editor

## Quick search

In any block of text, you can use Ctrl-F / Cmd-F to open a quick search:

![Quick search](https://api.octoperf.com/doc/design/edit-virtual-user/img/quick-search.png)

| Icon                                                    | Name                  | Description                                                  |
| ------------------------------------------------------- | --------------------- | ------------------------------------------------------------ |
| ![code-editor-plus](https://api.octoperf.com/doc/design/edit-virtual-user/img/code-editor-plus.png){ .off-glb }           | Toggle replace mode   | Allows you to replace values within the block of text.       |
| ![code-editor-regex](https://api.octoperf.com/doc/design/edit-virtual-user/img/code-editor-regex.png){ .off-glb }         | Use regexp search     | Toggle this if you plan on using [regular expressions](https://regex101.com/). |
| ![code-editor-case](https://api.octoperf.com/doc/design/edit-virtual-user/img/code-editor-case.png){ .off-glb }           | Case sensitive search | Activate [case sensitive](https://en.wikipedia.org/wiki/Case_sensitivity) search. |
| ![code-editor-whole](https://api.octoperf.com/doc/design/edit-virtual-user/img/code-editor-whole.png){ .off-glb }         | Whole word search     | Search only for the entire search term.                      |
| ![code-editor-selection](https://api.octoperf.com/doc/design/edit-virtual-user/img/code-editor-selection.png){ .off-glb } | Search in selection   | Limit the search to currently selected text.                 |

!!! tip
    Make sure to **click inside the text to properly set the focus**, otherwise you will activate your browser search feature.

## Other shortcuts

- **Ctrl-G / Cmd-G**: Find next,
- **Shift-Ctrl-G / Shift-Cmd-G**: Find previous,
- **Ctrl-D / Cmd-D**: Remove line,
- **Alt-Up/Down**: Move line up/Down.

!!! tip
    A complete list of shortcuts [can be found here](https://defkey.com/ace-editor-shortcuts).

## Markdown Cheat Sheet

Here is a guide to the markdown format used in some editors (for the project description, the VU description, ... and the Text Report item).

### Heading

```markdown
# H1 heading
## H2 heading
### H3 heading
```
### H3 heading

### Bold

```markdown
**bold text**
```
**bold text**

### Italic

```markdown
*italicized text*
```
*italicized text*

### Bold and Italic
```markdown
_**bold italicized text**_
```
_**bold italicized text**_

### Blockquote

```markdown
> blockquote
```

> blockquote

### Ordered List
```markdown
1. First item
2. Second item
3. Third item
```

1. First item
2. Second item
3. Third item

### Unordered List

```markdown
- First item
- Second item
- Third item
```


- First item
- Second item
- Third item



### Code

```markdown
`code`
```
`code`

### Horizontal Rule

```markdown
---
```

---

### Link

```markdown
[OctoPerf](https://octoperf.com)
```

[OctoPerf](https://octoperf.com)

### Image

```markdown
![OctoPerf](https://octoperf.com/img/octoperf-logo.svg)
```

![OctoPerf](https://octoperf.com/img/octoperf-logo.svg)

You can also switch to HTML if you need more control on the image size or position:

```html
<img class="off-glb" src="https://octoperf.com/img/octoperf-logo.svg" width="30%"/>
```

<img class="off-glb" src="https://octoperf.com/img/octoperf-logo.svg" width="30%"/>

### Table

```markdown
| header 1 | header 2 | header 3 |
| --- | --- | --- |
| col 1 | col 2 | col 3 |
| col 1 | col 2 | col 3 |
| col 1 | col 2 | col 3 |
```

![Markdown Table](https://api.octoperf.com/doc/design/edit-virtual-user/img/markdown-table.png)
