select text, change cursor position, multiline string gadget
Posted: Thu Apr 02, 2020 6:24 pm
Unless I'm missing something, there's currently no native function to set the position of the edit cursor, e.g., stringGadget(0, 0, 0, 300, 300, "test") setGadgetCursorPosition(0, 2) and the cursor would be over letter s, not at the beginning of content.
(function name just provided for the sake of demonstration, I don't really mind what it actually gets to be called)
Also, I don't think there's a native function for selecting/highlighting a part/whole content inside string/editor gadget, which would be really useful.
Also, it would be awesome if multiline string gadget was natively supported cross-platform, or editor gadget had a native flag to stop it from taking over the tab key, because as a screen user, taking over the tab key makes it very inconvenient to navigate past it, because I basically have to shift tab to get to gadgets that come after it.
I think these features would make PB's gadget support even more complete.
(function name just provided for the sake of demonstration, I don't really mind what it actually gets to be called)
Also, I don't think there's a native function for selecting/highlighting a part/whole content inside string/editor gadget, which would be really useful.
Also, it would be awesome if multiline string gadget was natively supported cross-platform, or editor gadget had a native flag to stop it from taking over the tab key, because as a screen user, taking over the tab key makes it very inconvenient to navigate past it, because I basically have to shift tab to get to gadgets that come after it.
I think these features would make PB's gadget support even more complete.