Christian Andersson wrote:
> Thomas Benisch wrote:
>
>> Rony G. Flatscher wrote:
>>
>>> Hmm, how about a menu option allowing editing
text with an external
>>> editor like emacs, vim etc. ?
>>>
>>> The same would make life for programmers a
easier with the scripting
>>> framework editor as well.
>>
>>
>> Just for the case, that somebody wants to work on
this. The key problem
>> with the integration of external editors or IDEs
is, that those editors
>> work on the disk file system and cannot work on
virtual file systems.
>> The Basic IDE works on some kind of virtual file
system, for document
>> macros especially on the document storage.
>
>
> well that is knd of easy to solve, just do it as many
other clients
> that allow external editors to edit files on a virtual
filesystem, for
> example ftp/ssh clients type of programs..
>
> They just save down the file to the local harddisk, and
then monitors
> this file for changes,and also monitors the application
that it
> started to see when it exits... whenever the file has
changed it puts
> back the file to the server, this can be done in OOo
also, it takes
> the macro virtual file and saves it to a temporary
file, opens the
> editor so that it edits this temporary file, and
monitors the file for
> changes, whenever it has been changed to reads the file
back and puts
> the content back to the virtual filesystem..
Does anyone know right off the head of a Java class that one
could
employ (assuming that such Java classes would take advantage
of whatever
functions the target operating system supplies for that
purpose)?
> I know it is not a perfect sollution, but it is better
then nothing
Hmm, also one would need a setup option to allow defining
the editor to
use and a storage location from which to look up that piece
of information.
---rony
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|