From 3489918dc27e697d73dc5da6cb707d0f4512fa55 Mon Sep 17 00:00:00 2001 From: optizone <42874998+optizone@users.noreply.github.com> Date: Sun, 17 Mar 2019 01:15:55 +0300 Subject: [PATCH] Fix tables and Compilation Errors in Documentation (#1304) --- docs/source/common-errors.rst | 6 ++++-- docs/source/shortcuts.rst | 28 ++++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/docs/source/common-errors.rst b/docs/source/common-errors.rst index 4b366d64..8bc50508 100644 --- a/docs/source/common-errors.rst +++ b/docs/source/common-errors.rst @@ -15,7 +15,8 @@ If the linux AppImage binary crashes upon startup, make sure your Compilation error ----------------- - r_core development package not found +r_core development package not found +~~~~~~~~~~~~~~~~~~ If you installed radare2 and still encounter this error, could be your ``PATH`` environment variable is set improperly (doesn’t contain @@ -38,7 +39,8 @@ can add variable ``PKG_CONFIG_PATH`` with value ``/usr/lib/pkgconfig/`` -------------- - OS X libjpeg error +OS X libjpeg error +~~~~~~~~~~~~~~~~~~ On Mac, QT5 apps fail to build on QtCreator if you have the libjpeg lib installed with brew. Run this command to workaround the issue: diff --git a/docs/source/shortcuts.rst b/docs/source/shortcuts.rst index 044863b1..3782505d 100644 --- a/docs/source/shortcuts.rst +++ b/docs/source/shortcuts.rst @@ -10,7 +10,9 @@ Global shortcuts | Shortcut | Function | +============+=====================+ | . | Focus console input | ++------------+---------------------+ | G/S | Focus search bar | ++------------+---------------------+ | Ctrl/Cmd+R | Refresh contents | +------------+---------------------+ @@ -21,8 +23,11 @@ Widget shortcuts | Shortcut | Widget | +===========+=========+ | Shift+F12 | Strings | ++-----------+---------+ | Shift+G | Graph | ++-----------+---------+ | Shift+I | Imports | ++-----------+---------+ | Shift+E | Exports | +-----------+---------+ @@ -33,11 +38,17 @@ Disassembly view shortcuts | Shortcut | Function | +============+==================================+ | Esc | Seek to previous position | ++------------+----------------------------------+ | Space | Switch to disassembly graph view | ++------------+----------------------------------+ | Ctrl/Cmd+C | Copy | ++------------+----------------------------------+ | ; | Add comment | ++------------+----------------------------------+ | N | Rename current function/flag | ++------------+----------------------------------+ | Shift+N | Rename flag/function used here | ++------------+----------------------------------+ | X | Show Xrefs | +------------+----------------------------------+ @@ -48,14 +59,23 @@ Graph view shortcuts | Shortcut | Function | +=====================+===================================+ | Esc | Seek to previous position | ++---------------------+-----------------------------------+ | Space | Switch to disassembly view | ++---------------------+-----------------------------------+ | Ctrl/Cmd+MouseWheel | Zoom | -| + | Zoom in | -| - | Zoom out | ++---------------------+-----------------------------------+ +| \+ | Zoom in | ++---------------------+-----------------------------------+ +| \- | Zoom out | ++---------------------+-----------------------------------+ | = | Reset zoom | ++---------------------+-----------------------------------+ | J | Next instruction | ++---------------------+-----------------------------------+ | K | Previous instruction | ++---------------------+-----------------------------------+ | T | Follow True/Unconditional branch | ++---------------------+-----------------------------------+ | F | Follow False/Unconditional branch | +---------------------+-----------------------------------+ @@ -67,8 +87,12 @@ Debug shortcuts | Shortcut | Function | +=================+================+ | F9 | Start debug | ++-----------------+----------------+ | F7 | Step into | ++-----------------+----------------+ | F8 | Step over | ++-----------------+----------------+ | F5 | Continue | ++-----------------+----------------+ | F2/(Ctrl/Cmd)+B | Add breakpoint | +-----------------+----------------+