Page 1 of 1

Posted: Fri Nov 01, 2002 12:57 am
by BackupUser
Restored from previous forum. Originally posted by Blue Moon.

Hi Fred

I have a small idea. One can the editor a function, that inflict enabled to send an event to a tool automatically if one writes it in the editor has changed.
Then one can intercept the event in the tool and is always current.

Posted: Fri Nov 01, 2002 5:19 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

What?

If i understand correctly you want that the Editor
calls a tool everytime the contents of the RichEdit
has changed ??
If this is what you want, its not good because the
Editor gets very slow.

But maybe you can explain a little bit more.

cya,
...Danilo

(registered PureBasic user)

Posted: Fri Nov 01, 2002 9:37 pm
by BackupUser
Restored from previous forum. Originally posted by Blue Moon.

Thank you for your answers, Danilo

No, so completely I didn't mean it.
Now, I give an example it like I once thought.
If I have integrated a tool in the editor, it starts, the tool can load the sourcecode.
The tool can now process the code.
I would like to leave the tool-window frankly and would like to work In the editor, that is no problem.
Here now the problem.
I now wants write a current in the tool has, that doesn't go with the open tool window.
Here now the idea in the use.
It lasts well if editor could prepare a type of registers for the tools, to send small information, at bits (example: write altered),
and tool could send bits to registers, (example: gives fresh code).

It must not take place with each keystroke.
But maybe if a highlihgting is completed?

Posted: Fri Nov 01, 2002 10:39 pm
by BackupUser
Restored from previous forum. Originally posted by Blue Moon.

I has forgotten something.

A common storage-puts as registers, edit can prepare each tool.
And hands over the address of this register with the first starts a tools over the Runprogram(), parameters.
Edit had to would interrogate the register only into one appropriate rotation or had to would process.
So, edit can order from tool processes.
As example if user in tool presses a button for refresh.
This would put down a bit.
Edit now knows, save the fresh code.
They had to be able to jump between tool and editor back and forth of course.

Posted: Sat Nov 02, 2002 12:07 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

Dont understand, sorry.
Is this translated with google or something like this ??

Maybe its better if you write in the german forum.

cya,
...Danilo

(registered PureBasic user)

Posted: Sat Nov 02, 2002 12:55 am
by BackupUser
Restored from previous forum. Originally posted by Blue Moon.

Yes, Danilo

I have furnished a thread in the German forum.
I come there to.