Subject:
|
Re: Call for GUI part editor
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sun, 16 Jul 2006 00:02:12 GMT
|
Viewed:
|
6530 times
|
| |
| |
In lugnet.cad, Anders Isaksson wrote:
> Can a LDDP plugin get the name of the current file? AFAICS it's only given
> the contents of the editor buffer (or just the selection). Without the file
> name there's no way to do any polling, and when it's given the selection
> only it's imperative that the file is not overwritten with only these lines!
>
> > This could be even better if LDDP and the syncedit executable both
> > supported the ldlist style drag and drop, but I don't know if that
> > ever got implemented in LDDP.
>
> I don't think ldlist D&D is implemented in LDDP (pity!), and IIRC the ldlist
> D&D is one part at a time only. If so it's not very easy to drag a whole
> buffer from SyncEdit to LDDP using this protocol.
>
> It almost seems like LDDP needs a new kind of 'plugin' ('plug-beside') that
> can be live at the same time as LDDP, and gets automatic sync messages from
> LDDP (and vice versa). The easiest way might be to let LDDP start an
> external .exe with a (or maybe two, one for each direction)temporary file
> and a window handle as the arguments, making it possible for LDDP to signal
> the external program, and the external program to signal LDDP when the text
> has been changed.
I think LDDP does already have support for *one* configurable external
program. Put a %0 in the args list to make LDDP pass the name of the
temp file to the external program. I used to add a -p to the args list
to tell ldglite to poll the file for changes, but I don't remember if
LDDP also polls the file for changes. Anyhow, you might be able to do
the same sort of thing with syncedit.exe.
It'd be nice if LDDP could support more than one external program, like
it does with plugins.
|
|
Message has 1 Reply: | | Re: Call for GUI part editor
|
| (...) The version 1.5.7.0 of LDDP that I have installed supports any number of external programs, although the interface for adding them is a bit non-intuitive. Unfortunately, looking at the sources, I find no place where LDDP re-reads the text (...) (18 years ago, 16-Jul-06, to lugnet.cad)
|
Message is in Reply To:
| | Re: Call for GUI part editor
|
| (...) Can a LDDP plugin get the name of the current file? AFAICS it's only given the contents of the editor buffer (or just the selection). Without the file name there's no way to do any polling, and when it's given the selection only it's (...) (18 years ago, 15-Jul-06, to lugnet.cad)
|
40 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|