Re: [PATCH] : Fix for "Ignore All" Spell Dialog (Unix)


Subject: Re: [PATCH] : Fix for "Ignore All" Spell Dialog (Unix)
From: Paul Rohr (paul@abisource.com)
Date: Tue Mar 06 2001 - 15:30:11 CST


At 12:55 PM 3/6/01 -0800, WJCarpenter wrote:
>My understanding/intuition matches Dom's.

Ditto.

>Further, "Ignore" is probably only good for a single pass of the
>"bulk" spell-checker. It doesn't appear on the right-click context
>menu. I think it would be cool to have "Ignore" persist (and thus be
>a good candidate for the context menu), but I think that is a
>moderately hard problem since "a word" is only a vague concept in the
>Abi code base.

Yep. I briefly toyed with the notion of hacking in a character-level
"ignore" property and explicitly tagging the word, but just couldn't stomach
the thought. The editing operations alone would be ... unpleasant.

>"Ignore All" is good forever and does appear on the context menu.
>(Well, "forever" means until you exit AbiWord, but that will change to
>persistent behavior someday as soon as I get off my butt and
>clean-up/check-in the changes for that.)

Sweet. I ran out of time to do so myself, but this could be as easy as just
replicating the custom.dic logic with the following two variations, no?

  - it loads to/from a different hashtable
  - it persists into the header of the file format

If so, that shouldn't be bad. Do all our prefs dialogs have an appropriate
button which could be hooked up to flush this list?

Paul



This archive was generated by hypermail 2b25 : Wed Mar 07 2001 - 16:27:35 CST