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: Wed Mar 07 2001 - 18:07:34 CST


Bill,

You *do* know that I'm responsible for most or all of the following code,
right?

  - spell context menu
  - ignore all
  - add (to custom.dic)
  - styles

"Ignore all" and "Add" both update hashtables of words. The former is at
document scope and currently doesn't persist. The latter is app-wide and
does.

The only relevant difference here is the format you use to persist the two.
The custom dictionaries save as one word per line to a UTF-8-encoded file in
the user profile directory. Ignored words should get injected into the
document around the same place that styles do -- ie, before all document
content.

>paul> If so, that shouldn't be bad. Do all our prefs dialogs have an
>paul> appropriate button which could be hooked up to flush this list?
>
>I don't know the answer to this either way, but does "flush" mean "get
>rid of" or "save to disk"?

Get rid of. Save to disk should be automatic, or the feature's worthless.

Paul
motto -- cvsblame is your friend



This archive was generated by hypermail 2b25 : Thu Mar 08 2001 - 14:23:34 CST