- Result.i = GetGadgetCursor(#Gadget): returns the position of the cursor in a String/EditorGadget.
- SetGadgetCursor(#Gadget, Pos.i): set the cursor position in the given String/EditorGadget.
Add GetGadgetCursor() and SetGadgetCursor()
Add GetGadgetCursor() and SetGadgetCursor()
The title sums this one up pretty well, I'm requesting two new functions:
Re: Add GetGadgetCursor() and SetGadgetCursor()
Or maybe for any relevant gadgets just add the appropriate cursor position attribute for existing functions:
GetGadgetAttribute()
SetGadgetAttribute()
GetGadgetAttribute()
SetGadgetAttribute()
Re: Add GetGadgetCursor() and SetGadgetCursor()
+1
Another essential func IMO.
just as well. +1
Another essential func IMO.
Or that! That worksUSCode wrote: Sat Feb 22, 2025 5:17 am Or maybe for any relevant gadgets just add the appropriate cursor position attribute for existing functions:
GetGadgetAttribute()
SetGadgetAttribute()
just as well. +1