Custom IDE use of JEdit
Submitted by Friday, 25 November, 2011 - 11:22on
Would it be possible to send and receive custom AppleEvents using JEdit? For example, I would like to highlight some text in a JEdit window and then press either the
key or the keys and have that chunk of text sent to my programming environment. My programming environment would take that text and execute it as if it were copy/pasted into its console window.
There are other custom behaviors I would like, such as sending an AppleEvent to JEdit to open a specified file and scroll to a specific line number or character number. Also, I would like to have JEdit be able to do a "Save and Include" operation from a JEdit window: so I could edit a specific file and then press -K and the file would be saved and then compiled by my programming environment. I would also want the ability to send chunks of text (of any size) to be displayed in the currently open JEdit file/window at the current cursor location.
I realize this may be asking a lot. For a demo of exactly what I am talking about you could download the PowerMops IDE and see how its QuickEdit integrated editor (but it is a separate application) does all of the above and more.
(download PowerMops v6.2 , it includes QuickEdit
double-click the "Open Me First" file in the PowerMops folder and everything will be launched and you can immediately see how what I describe above works )
The reason I ask these questions is QuickEdit does not work in Intel native mode.
Douglas B. Hoffman