Re: How to execute external program from jedit and catch output
Dalibor Petricevic <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <CAMQTR1jXdG8kEoHmqAH1py7iCyU8obTCaa_8-zENSdiO-e8giA@mail.gmail.com> |
Right, thank you. But my jEdit can't download that plugin from ANY mirrorr :( Actualy, installing/updating plugins became such a pain lately, no plugin here, no there, try another mirror ... not cool. On Thu, Feb 23, 2017 at 9:50 PM, Eric Ladner <[email protected]> wrote: > Look at the TextFilter plugin for jEdit. It looks like it should do > exactly what you need as far as the sending to external command and > returning to buffer (with options on what to send and where to put it when > it gets back). > > On Thu, Feb 23, 2017 at 12:29 PM Dalibor Petricevic < > [email protected]> wrote: > >> Hello, >> >> this is a real-world situation: I'm working on a text file of some kind, >> selected portion of text in active buffer and want to execute external >> proces (program.exe), pass selected text to it, capture its output and >> replace selected text in buffer with that output. >> >> How can I do that? >> >> Also, I would like to "save" that [something] (execute, feed selection >> from buffer to process, catch output, replace selected text) and pin it to >> toolbar or context menu. >> >> Tnx! >> D >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot-- >> ----------------------------------------------- >> jEdit Users' List >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jedit-users >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users