FG Spreadshirt Swag
  1. #1

    formattedtextcontrol - get selected text

    Hello all,

    With the formattedtextcontrol is there a way to get any information about the text that is selected, current select position, current cursor position. I searched and at one point the answer was no but I'm hoping that has changed.

    I want to write an extension that copies and pastes between formattedtextcontrols and I need to know what is currently selected. Otherwise I can only copy and paste the entire getValue().


    Thanks,
    Jason

  2. #2
    Quote Originally Posted by jharp View Post
    Hello all,

    With the formattedtextcontrol is there a way to get any information about the text that is selected, current select position, current cursor position. I searched and at one point the answer was no but I'm hoping that has changed.

    I want to write an extension that copies and pastes between formattedtextcontrols and I need to know what is currently selected. Otherwise I can only copy and paste the entire getValue().


    Thanks,
    Jason
    Unfortunately no, it would need to be a stringcontrol to have access to those APIs
    Dominic Morta
    Ruleset Developer
    Smiteworks

    How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it

    How to provide an Unity Connection issue?-Connection Issues and What to Provide

    Unity Updater issue?-Updater Issues

    Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained

    Comcast or Cox ISP User?-Comcast XFinity and Cox Users

    Have a suggestion?-Feature Request

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in