On Mon, Sep 29, 2003 at 10:33:58AM +0100, Angus Leeming wrote:
> > I am not sure this is really needed.
> 
> My original idea was to embed an arbitrary renderer for 
> InsetExternal. Things like syntax-highlighted code snippets, but then 
> I thought, why limit it to just rendering?

Would be nice, but not solve my problem...

> > One of the features I sorely miss is the   :'<,'>!foo  feature of
> > vim that pipes the selection through some external filter (like
> > 'sort') and replaces the selection with the output of the filter.
> > 
> > This would already help much.
> > 
> > During the last week I spend more time on one of my bigger .lyx
> > files with vim than with LyX... no, I am not joking.
> > 
> > In theory, such a feature should be simple to add, in practice it
> > probably isn't. The only format LyX can read and write is .lyx, and
> > the probability to crash LyX's reading with a broken filter's output
> > is almost 1...
> 
> try {
>         ...
> } catch(...) {
> }
> 
> ???

Would be fine with me, however Lars recently said we don't use
exceptions...

> 
> ... but I can't see why you couldn't embed vim. This is for 
> InsetExternal and maybe for InsetERT, writing and reading from a temp 
> file. 

I do not want to embed it right now (even if that would be nice). I want
to use some of its (and shell) features on an arbitrary region of text,
including the main text, including formulas etc.

Not just for InsetERT.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to