[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3181: Add new features into WebTextArea object
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3181: Add new features into WebTextArea object
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Fri, 29 May 2026 18:02:26 GMT
- To: olivier.cruilles@xxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3181&from=L21haW4- Comment #6 by Olivier CRUILLES: Ok, I tried the .Insert() methode and it works as you explained. Now, the .Select() methode does not Select visualy the text in the Web Page. I had to figure that in the Javascript command I send by executing the selection of the new text after doing the gw.update() because the gw.update() deselect all the text. Maybe it's the same issue with the new implementation you did. My goal is to be able to get the selected text in the WebTextArea by the user, replace the selection by the new text (Ex: "Titre" -> "**Titre**"), and in the end reselect the new text "**Titre**". For now, only the 'reselection' of the new text does not work or I don't know how to use it. I sent you in private the prototype of the Web Site I'm developing to replace the actual Gambas France Forum Just go to Wiki -> Select in the treeview 'Test doc' -> in the Preview panel click in the Pencil to edit the doc -> Select a text in the WebTextArea -> Click the "A" bolt button Olivier ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
| [Gambas-bugtracker] Bug #3181: Add new features into WebTextArea object | <bugtracker@xxxxxxxxxxxxxx> |