git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: Automatically spell check commit messages as the user types

From
Wincent Colaiuta <win@wincent.com>
Date
Feb 4, 2008, 08:53 UTC
Message-ID
<5ED970B8-0196-4616-8968-6788B803EA7F@wincent.com>
In-Reply-To
<20080204084153.GA9997@spearce.org>
El 4/2/2008, a las 9:41, Shawn O. Pearce escribió:
Show 8 quoted lines
> As you can see the commit message was rather long.  I used this
> feature the entire time while writing it, and I have to say, it
> saved me from my horrible spelling and typing skills.  It also
> didn't feel like there was any significant lag, although every
> once in a while it will mark a word that you are in the middle
> of typing as misspelled, and catch up and correct that once you
> finish the word.  I guess that's what you get for slowing down
> and taking a few extra milliseconds to move the fingers.  :)

Rather than sending off the text to be spellchecked at intervals, couldn't you refrain from sending it when the cursor hasn't yet moved past a word boundary? This is what most "check spelling as you type implementations do".

eg. If you type "spellnig" and leave the cursor immediately after the "g", the word won't be highlighted until you hit space or otherwise cause the cursor to move beyond the word boundary.

Cheers, Wincent

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 2 of 5 in “git-gui: Automatically spell check commit messages as the user types”
  1. git-gui: Automatically spell check commit messages as the user typesShawn O. Pearce, Feb 4, 2008
  2. Wincent ColaiutaFeb 4, 2008
  3. Shawn O. PearceFeb 4, 2008
  4. Jakub NarebskiFeb 4, 2008
  5. Adam FlottFeb 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.