From e1a6bdcd576f7caeaa6f97ff1e337a259057b333 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 1 Feb 2024 13:34:40 -0500 Subject: add header for magic console variables so we can link to them --- docs/guide/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') 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 - `-R` allows for reverse-searching your console history - `` and `` 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 -- cgit v1.3.1