update docs for new bindkeys

This commit is contained in:
stefan schippers 2025-09-13 11:06:00 +02:00
parent dbdfb3015e
commit ee920560ff
7 changed files with 14 additions and 2 deletions

View File

@ -215,6 +215,7 @@ ctrl 'n' Clear schematic
ctrl+shift 'N' Clear symbol ctrl+shift 'N' Clear symbol
shift 'O' Toggle Light / Dark colorscheme shift 'O' Toggle Light / Dark colorscheme
shift+ctrl 'O' Load most recent file shift+ctrl 'O' Load most recent file
alt 'o' Open file in a new tab / window
ctrl 'o' Open file ctrl 'o' Open file
- 'p' Place polygon. Operation ends by placing last point over first. - 'p' Place polygon. Operation ends by placing last point over first.
alt 'p' Add symbol pin alt 'p' Add symbol pin
@ -236,6 +237,7 @@ ctrl 's' Save schematic
alt 's' Reload current schematic from disk alt 's' Reload current schematic from disk
ctrl+alt 's' Save-as symbol ctrl+alt 's' Save-as symbol
- 't' Place text - 't' Place text
ctrl 't' create new tab or window
shift 'T' Toggle *_ignore flag on selected instances shift 'T' Toggle *_ignore flag on selected instances
alt 'u' Align to current grid selected objects alt 'u' Align to current grid selected objects
ctrl 'u' Unselect attached floater objects ctrl 'u' Unselect attached floater objects

View File

@ -1148,6 +1148,7 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns"
switch: switch context to specified 'win_path' window or specified schematic name switch: switch context to specified 'win_path' window or specified schematic name
If 'draw' is given and set to 0 do not redraw after switching tab If 'draw' is given and set to 0 do not redraw after switching tab
(only tab i/f) (only tab i/f)
if win_path set to "previous" switch to previous schematic.
Main window/tab has win_path set to .drw, Main window/tab has win_path set to .drw,
Additional windows/tabs have win_path set to .x1.drw, .x2.drw and so on...</pre> Additional windows/tabs have win_path set to .x1.drw, .x2.drw and so on...</pre>
<li><kbd> only_probes</kbd></li><pre> <li><kbd> only_probes</kbd></li><pre>

View File

@ -3454,10 +3454,15 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m
} }
} }
else if(rstate & ControlMask) { else if(rstate & ControlMask) {
int save = xctx->semaphore;
if(waves_selected(event, key, state, button)) { if(waves_selected(event, key, state, button)) {
waves_callback(event, mx, my, key, button, aux, state); waves_callback(event, mx, my, key, button, aux, state);
break; break;
} }
if(xctx->semaphore >= 2) break;
xctx->semaphore = 0;
new_schematic("create", NULL, NULL, 1);
xctx->semaphore = save;
} }
break; break;

View File

@ -156,6 +156,7 @@ ctrl 'n' Clear schematic
ctrl+shift 'N' Clear symbol ctrl+shift 'N' Clear symbol
shift 'O' Toggle Light / Dark colorscheme shift 'O' Toggle Light / Dark colorscheme
shift+ctrl 'O' Load most recent file shift+ctrl 'O' Load most recent file
alt 'o' Open file in a new tab / window
ctrl 'o' Open file ctrl 'o' Open file
- 'p' Place polygon. Operation ends by placing last point over first. - 'p' Place polygon. Operation ends by placing last point over first.
alt 'p' Add symbol pin alt 'p' Add symbol pin
@ -177,6 +178,7 @@ ctrl 's' Save schematic
alt 's' Reload current schematic from disk alt 's' Reload current schematic from disk
ctrl+alt 's' Save-as symbol ctrl+alt 's' Save-as symbol
- 't' Place text - 't' Place text
ctrl 't' create new tab or window
shift 'T' Toggle *_ignore flag on selected instances shift 'T' Toggle *_ignore flag on selected instances
alt 'u' Align to current grid selected objects alt 'u' Align to current grid selected objects
ctrl 'u' Unselect attached floater objects ctrl 'u' Unselect attached floater objects

View File

@ -3579,6 +3579,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
* switch: switch context to specified 'win_path' window or specified schematic name * switch: switch context to specified 'win_path' window or specified schematic name
* If 'draw' is given and set to 0 do not redraw after switching tab * If 'draw' is given and set to 0 do not redraw after switching tab
* (only tab i/f) * (only tab i/f)
* if win_path set to "previous" switch to previous schematic.
* Main window/tab has win_path set to .drw, * Main window/tab has win_path set to .drw,
* Additional windows/tabs have win_path set to .x1.drw, .x2.drw and so on... * Additional windows/tabs have win_path set to .x1.drw, .x2.drw and so on...
*/ */

View File

@ -9065,7 +9065,8 @@ proc build_widgets { {topwin {} } } {
$topwin.menubar.file add cascade -label "Open recent" -menu $topwin.menubar.file.recent $topwin.menubar.file add cascade -label "Open recent" -menu $topwin.menubar.file.recent
menu $topwin.menubar.file.recent -tearoff 0 -takefocus 0 menu $topwin.menubar.file.recent -tearoff 0 -takefocus 0
setup_recent_menu $topwin setup_recent_menu $topwin
$topwin.menubar.file add command -label {Create new window/tab} -command "xschem new_schematic create" $topwin.menubar.file add command -label {Create new window/tab} -command "xschem new_schematic create" \
-accelerator {Ctrl+T}
$topwin.menubar.file add command -label "Open selected schematic in new window" \ $topwin.menubar.file add command -label "Open selected schematic in new window" \
-command "open_sub_schematic" -accelerator Alt+E -command "open_sub_schematic" -accelerator Alt+E

View File

@ -295,7 +295,7 @@ T {Simulate} 242.5 -172.5 0 0 0.18 0.18 {}
T {Reload from file} 242.5 -206.25 0 0 0.18 0.18 {layer=7} T {Reload from file} 242.5 -206.25 0 0 0.18 0.18 {layer=7}
T {Save As} 242.5 -217.5 0 0 0.18 0.18 {layer=6} T {Save As} 242.5 -217.5 0 0 0.18 0.18 {layer=6}
T {Save as sym} 258.75 -228.75 0 0 0.18 0.18 {layer=10} T {Save as sym} 258.75 -228.75 0 0 0.18 0.18 {layer=10}
T {-} 442.5 -275 0 0 0.18 0.18 {layer=4} T {New win/tab} 442.5 -275 0 0 0.18 0.18 {layer=4}
T {Toggle ignore} 442.5 -263.75 0 0 0.18 0.18 {layer=12} T {Toggle ignore} 442.5 -263.75 0 0 0.18 0.18 {layer=12}
T {Text} 442.5 -252.5 0 0 0.18 0.18 {} T {Text} 442.5 -252.5 0 0 0.18 0.18 {}
T {-} 442.5 -286.25 0 0 0.18 0.18 {layer=7} T {-} 442.5 -286.25 0 0 0.18 0.18 {layer=7}