11 February 2024, 11:35 | #1 |
Registered User
Join Date: Jul 2022
Location: Australia
Posts: 49
|
GM_TEXTEDITOR_AddChangeListener
Has anyone managed to get this to work?
I register my instance of ChangeListener but every time the handlers are called the system crashes! Haven’t managed to find any documentation on this, so I’m kind of playing in the dark. (Have tried in C and assembler; same outcome) -M |
11 February 2024, 14:14 | #2 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 433
|
Unfortunately much of texteditor.gadget is still unimplemented. We can only hope Hyperion will keep adding to this gadget with future updates but I wouldn't count on it.
Unless someone has a better solution, since it is a BOOPSI object, you might be able to subclass it so that it can handle key presses to register a change. Another solution would be for your code to periodically check the contents of the texteditor and see if it has changed since last time it checked. |
11 February 2024, 19:30 | #3 | |
Camilla, AmigaOS Dev.
Join Date: Mar 2020
Location: Frederiksberg
Posts: 350
|
Quote:
It does work though |
|
12 February 2024, 03:47 | #4 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 433
|
|
12 February 2024, 04:37 | #5 |
Registered User
Join Date: Jul 2022
Location: Australia
Posts: 49
|
|
12 February 2024, 06:57 | #6 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,709
|
There has been a lot of trolling about OS3.2/3.3 on this forum (I'm not referring to anyone who is in this thread); for that and other reasons we made the decision it would be better to handle support from our own forum.
Last edited by Minuous; 12 February 2024 at 12:28. |
12 February 2024, 11:28 | #7 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 433
|
|
13 February 2024, 15:19 | #8 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 433
|
I'm totally happy to ask OS 3.2 sys questions in the new forum. Can I get some more context though about the specific trolling that was happening? I haven't seen it and would like to know where (like what thread(s)) this happened
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|