G. Milde wrote:
This sort of request is quite commonly made, and it's been on the developers' radar, more or less, for a while. Obviously, the View Source preview is a step in this direction. But, as Andre remarked, it's non-trivial to get this right, and the number of people who would use it seems small. In any event, no one has stepped up to do the work needed to implement it. Anyone who wants to do so is of course welcome!

Actually, I'd prefer to do the source file editing in my favourite text
editor (where I know the advanced keybindings and can easily programm
plug-ins).

Unfortunately, currently to do things like replacing by regular
expression or replacing in math or change of box-type etc. I have to:

[snip]

What I'd like to see (and what IMO should be relatively easy) is
a) a LyX command that (saves the current document and) opens the source
   file with a command that can be defined in the settings dialogue
   (defaulting to the content of the EDITOR environment variable in
   unix).
This is do-able now. Just add your favorite editor as the "Viewer" for LyX files in Tools>Preferences>File Formats, and check the "Document Format" box. Easier than the other thing you mentioned.
b) a reloading command that is aware of the possibility that the version on disk is more recent than the opon one, e.g. "&File>&Revert to Saved ==>"&File>&Reload, with the warning All changes since the last save will be lost. Are you sure you want to reload the document from ...<path to file> [Reload] [Cancel]
This seems like a pretty minor change. If you're brave enough to edit the LyX file natively, then you're brave enough for the existing warning.

Richard

--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to