MCPcopy Create free account
hub / github.com/SimHacker/micropolis / SetTextCursor

Function SetTextCursor

micropolis-activity/src/tk/tkcvtext.c:1301–1318  ·  view source on GitHub ↗

ARGSUSED */

(canvasPtr, itemPtr, index)

Source from the content-addressed store, hash-verified

1299 *--------------------------------------------------------------
1300 *
1301 * SetTextCursor --
1302 *
1303 * Set the position of the insertion cursor in this item.
1304 *
1305 * Results:
1306 * None.
1307 *
1308 * Side effects:
1309 * The cursor position will change.
1310 *
1311 *--------------------------------------------------------------
1312 */
1313
1314 /* ARGSUSED */
1315static void
1316SetTextCursor(canvasPtr, itemPtr, index)
1317 Tk_Canvas *canvasPtr; /* Record describing canvas widget. */
1318 Tk_Item *itemPtr; /* Text item in which cursor position
1319 * is to be set. */
1320 int index; /* Index of character just before which
1321 * cursor is to be positioned. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected