Get/Set cursor X,Y and selected text in EditorGadget()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Get/Set cursor X,Y and selected text in EditorGadget()

Post by the.weavster »

I'd like enhancements to the EditorGadget() so it's possible to get the current position of the cursor (line number and chars from the left) and also to get and set a selected area of the text (fromLine,fromChar,toLine,toChar).