DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Simple auto-saving text editor for mercurial commits  (Read 5,741 times)

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 738
Simple auto-saving text editor for mercurial commits
« on: July 21, 2015, 03:57 PM »
I am looking for a simple text editor that auto-saves and closes with a single hotkey combination.

I want to hook this editor to mercurial so whenever I do a commit the editor pops up, I can type my commit message, and then I can hit Ctrl+Enter (or something like that) to auto-save and close the editor to complete the commit.

Ideally, the editor would have word-wrap, the ability to use the mouse to select text, and copy/cut/paste functionality.

I know you can put your commit message into the command line, but I tend to write lengthy commits, so I would prefer to be in a text editor of some kind.

Edit: I'm looking for this in Windows

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Simple auto-saving text editor for mercurial commits
« Reply #1 on: July 21, 2015, 05:50 PM »
Where do you want this editor to hook into?  I'm not understanding the use case totally.

You have a mercurial client (and/or are using the commandline), and you want the text to be inserted in there after you close it?  Sort of like something that pops up at will linked to the current window and will save the text there?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
The easy path is usually downhill...

Original address: https://www.donationcoder.com/forum/index.php?topic=41300.0