Hello,
I want to write an tool to change the selected code.
It's easy to send the selected code to my tool, but how can I return the result of my tool to the PB Editor?
I'm working on OSX
IDE Tool programing
IDE Tool programing
macOS Catalina 10.15.7
Re: IDE Tool programing
Hi.
On Windows you can use API like SendMessage() to send commands to Scintilla control used by IDE.
Probably there is similar way on that OSX.
Scintilla commands already present in PB as those "#SCI_" constants, also can look Scintilla docs for details.
On Windows you can use API like SendMessage() to send commands to Scintilla control used by IDE.
Probably there is similar way on that OSX.
Scintilla commands already present in PB as those "#SCI_" constants, also can look Scintilla docs for details.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: IDE Tool programing
He wants to send text to the open scintilla control of the purebasic-ide.
All tips & tricks to send it directly are windows only.
But another way was to load the sourcecode of the actual tab , change it, and reload the new one.
All tips & tricks to send it directly are windows only.
But another way was to load the sourcecode of the actual tab , change it, and reload the new one.