From d4641f2b1a8d7fa672f1efa3c52ae83d4b01cc65 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 4 Jun 2023 23:05:13 +0200 Subject: [PATCH] doc updates (developer_info.html) --- doc/xschem_man/developer_info.html | 8 ++++++-- src/scheduler.c | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/xschem_man/developer_info.html b/doc/xschem_man/developer_info.html index 69bcb4ee..97a25a07 100644 --- a/doc/xschem_man/developer_info.html +++ b/doc/xschem_man/developer_info.html @@ -488,6 +488,8 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns" + +
  • abort_operation
  •     Resets UI state, unselect all and abort any pending operation 
  • add_symbol_pin
  • @@ -850,10 +852,12 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns"
        
  • new_process [f]
  •     Start a new xschem process for a schematic.
        If 'f' is given load specified schematic. 
    -
  • new_schematic create|destroy|destroy_all|switch_win winpath file
  • +   
  • new_schematic create|destroy|destroy_all|switch_win|switch_tab winpath file
  •     Open/destroy a new tab or window 
          create: create new empty window or with 'file' loaded if 'file' given.
    -             The winpath must be given (even {} is ok) but is not used.
    +             The winpath must be given (even {} is ok).
    +             non empty winpath ({1}) will avoid warnings if opening the
    +             same file multiple times.
          destroy: destroy tab/window identified by winpath. Example:
                   xschem new_schematic destroy .x1.drw
          destroy_all: close all tabs/additional windows
    diff --git a/src/scheduler.c b/src/scheduler.c
    index 32c6a754..350c6b0e 100644
    --- a/src/scheduler.c
    +++ b/src/scheduler.c
    @@ -2231,7 +2231,9 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
         /* new_schematic create|destroy|destroy_all|switch_win|switch_tab winpath file
          *   Open/destroy a new tab or window 
          *     create: create new empty window or with 'file' loaded if 'file' given.
    -     *             The winpath must be given (even {} is ok) but is not used.
    +     *             The winpath must be given (even {} is ok).
    +     *             non empty winpath ({1}) will avoid warnings if opening the
    +     *             same file multiple times.
          *     destroy: destroy tab/window identified by winpath. Example:
          *              xschem new_schematic destroy .x1.drw
          *     destroy_all: close all tabs/additional windows