diff --git a/doc/xschem_man/developer_info.html b/doc/xschem_man/developer_info.html
index ba211b3a..6cb62ae2 100644
--- a/doc/xschem_man/developer_info.html
+++ b/doc/xschem_man/developer_info.html
@@ -730,6 +730,8 @@ C {verilog_timescale.sym} 1050 -100 0 0 {name=s1 timestep="1ns" precision="1ns"
current_name name of current design (no library path)
current_win_path path of current tab/window (.drw, .x1.drw, ...)
currsch hierarchy level of current schematic (start at 0)
+ cursor1_x cursor 1 position
+ cursor2_x cursor 2 position
debug_var debug level (0 = no debug, 1, 2, 3,...)
draw_window direct draw into window
first_sel get data about first selected object
diff --git a/src/scheduler.c b/src/scheduler.c
index 847af295..bee72894 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -1196,13 +1196,13 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
if(!xctx) {Tcl_SetResult(interp, not_avail, TCL_STATIC); return TCL_ERROR;}
Tcl_SetResult(interp, my_itoa(xctx->currsch),TCL_VOLATILE);
}
- else if(!strcmp(argv[2], "cursor1_x")) {
+ else if(!strcmp(argv[2], "cursor1_x")) { /* cursor 1 position */
char c[70];
if(!xctx) {Tcl_SetResult(interp, not_avail, TCL_STATIC); return TCL_ERROR;}
my_snprintf(c, S(c), "%g", xctx->graph_cursor1_x);
Tcl_SetResult(interp, c, TCL_VOLATILE);
}
- else if(!strcmp(argv[2], "cursor2_x")) {
+ else if(!strcmp(argv[2], "cursor2_x")) { /* cursor 2 position */
char c[70];
if(!xctx) {Tcl_SetResult(interp, not_avail, TCL_STATIC); return TCL_ERROR;}
my_snprintf(c, S(c), "%g", xctx->graph_cursor2_x);