diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-02-01 13:34:40 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-02-01 13:34:40 -0500 |
| commit | e1a6bdcd576f7caeaa6f97ff1e337a259057b333 (patch) | |
| tree | 17d2e36ac1b86a16148f1193ce0571cad9f639a3 /docs/guide | |
| parent | d1cbe3f55e2b92b7acc0f9792ae6695153299f9c (diff) | |
add header for magic console variables so we can link to them
Diffstat (limited to 'docs/guide')
| -rw-r--r-- | docs/guide/index.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/guide/index.md b/docs/guide/index.md index da2125d0..bb6c53a2 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -629,7 +629,9 @@ The scripting console is not a full IDE, but it has several convenience features - `<CTRL>-R` allows for reverse-searching your console history - `<UP>` and `<DOWN>` can be used to view the command-history -The interactive python prompt also has several built-in functions and variables: +#### Magic Console Variables + +The interactive python prompt also has several built-in "magic" functions and variables. Some are read-only, and some are writable to provide convenient interacitivty between the UI and console: - `here` / `current_address`: address of the current selection. It's settable too and will navigate the UI if changed - `current_selection`: a tuple of the start and end addresses of the current selection. It's settable and will change the current selection |
