Last Comment Bug 103767 - Key to start $EDITOR for <textarea> (external text editor)
: Key to start $EDITOR for <textarea> (external text editor)
Status: NEW
: helpwanted
Product: Core
Classification: Components
Component: Editor (show other bugs)
: Trunk
: All All
-- enhancement with 13 votes (vote)
: Future
Assigned To: Nobody; OK to take it and work on it
: Makoto Kato [:m_kato]
Depends on: 13474 72539
  Show dependency treegraph
Reported: 2001-10-08 17:41 PDT by Malx
Modified: 2009-04-19 16:24 PDT (History)
12 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Malx 2001-10-08 17:41:19 PDT
The best editor is the one, which is set in $EDITOR of every unix user!
So you need to make shortcut (same as in lynx) to start it for
editing of <textarea> fields (or may be DblClick on field also will
do this?).
You just can't make own editor so powerfull as vi :) it whould be waste of time.

Or may be it whould be defined by special option in preference?
 (if so - you hould also think about leting this external editor to get line 
number to start at and charset). So you could set "xterm -e 'vi $file' -fn 

(also tell user if $EDITOR is not set - especially for Win*)

This need becomes clear, if you whould recall number of Web based Forums and 
Free Mail services. Most of them make <textarea> for 800x600 - too small for 
1024x768 :(
Comment 1 User image Jesse Ruderman 2001-10-08 18:26:40 PDT
See also bug 35268, [RFE] Edit Source using External Editor.
Comment 2 User image Kathleen Brade 2001-10-09 06:21:46 PDT
Maybe this bug should really go to HTML Form Controls or XPApps (for helper app 
Comment 3 User image Akkana Peck 2001-10-18 15:22:34 PDT
Fun idea; it would actually make web mail usable.
I don't expect we'll have the resources to do this any time soon, but it would
be a nice self-contained project for someone to contribute.

(Minor nit: $VISUAL, if it's set, should override $EDITOR.)

It could be implemented as a form control issue (start editor on focus in) or as
a key binding inside the editor.  I'm leaving it as editor/core because if we
built it in as an editor command it would also solve the much-requested
comparable problem in mailnews.
Not sure who should own it; Kin, if you don't want it, I don't mind having it on
my list (but still future/helpwanted).  If anyone wants to volunteer to work on
it, I'd be happy to offer suggestions.
Comment 4 User image Anthony DeRobertis 2002-03-03 13:15:59 PST
dup of bug 13474?
Comment 5 User image Malx 2002-03-03 16:10:34 PST
This one is a subset of bug #13474
And it is mor likely to be dup of bug #72539

But It could be implemented faster, then #13474 (with all proposed pipes)

Maked as dependens (am I right?)
Comment 6 User image Krishna Sethuraman 2007-01-11 10:32:29 PST
Mozex (firefox addon) currently supports choosing a hotkey to edit the textarea.  Works for me with xemacs's winclient.exe using Firefox under Windows XP to edit trac wiki pages.

Note You need to log in before you can comment on or make changes to this bug.