@Alexey: I'm experimenting with the on_message event, this seems to get 4 parameters: self, ed_self, id and text. id seems always to be zero so what's it doing? (BTW on_message is not yet in the API wiki.)
And also I want to write a simple plugin that toggles the display between two different fonts, one for programming and the other for plain text editing. I have not found out how to do that by looking through the API docs so I'd appreciate it if you can drop a quick hint.
And great to see that you take documenting this stuff seriously! One big problem with many APIs is that nobody (sometimes even not the creator ) knows how to use them.
API questions
https://wiki.freepascal.org/CudaText_API#Panels
it's in the wiki. "id" is described.
Font can be changed yet only for editors in dlg_proc() forms. But not for editors in ui tabs. (dlg_proc - all controls have "font_name" property.)
it's in the wiki. "id" is described.
Font can be changed yet only for editors in dlg_proc() forms. But not for editors in ui tabs. (dlg_proc - all controls have "font_name" property.)