Commit: patch: DebugFlash (was RE: Marking as we spell check)


Subject: Commit: patch: DebugFlash (was RE: Marking as we spell check)
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Tue Aug 15 2000 - 19:46:27 CDT


Committed.

>From: bill-abisource@carpenter.ORG (WJCarpenter)
>To: abiword-dev@abisource.com (AbiWord Mailing List), patches@abisource.com
>Subject: patch: DebugFlash (was RE: Marking as we spell check)
>Date: Tue, 15 Aug 2000 15:44:51 -0700
>
>tf> I can't remember who or when the code was put in to flash a little
>tf> squiggly under the entire line when it is being spell checked, but
>tf> I have a couple of comments.
>
>wjc> Hrrmm. Check your preferences file to see if you put this in
>wjc> back when you first heard of the feature:
>wjc> DebugFlash="1"
>
>My bad. My code for checking for this preference value accidentally
>always answered yes. One-line-change patch attached.
>
>Duh-oh!
>--
>bill@carpenter.ORG (WJCarpenter) PGP 0x91865119
>38 95 1B 69 C9 C6 3D 25 73 46 32 04 69 D6 ED F3
>
>diff -ru abi-081400-ORIG/src/text/fmt/xp/fl_DocLayout.cpp
>abi-081400/src/text/fmt/xp/fl_DocLayout.cpp
>--- abi-081400-ORIG/src/text/fmt/xp/fl_DocLayout.cpp Mon Jul 31 22:38:29
>2000
>+++ abi-081400/src/text/fmt/xp/fl_DocLayout.cpp Tue Aug 15 11:56:09 2000
>@@ -152,7 +152,7 @@
> // keep updating itself
> pPrefs->addListener ( _prefsListener, this );
> UT_Bool b;
>- if (m_pPrefs->getPrefsValueBool("DebugFlash",&b))
>+ if (m_pPrefs->getPrefsValueBool("DebugFlash",&b) && b == UT_TRUE)
> {
> addBackgroundCheckReason(bgcrDebugFlash);
> }

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



This archive was generated by hypermail 2b25 : Tue Aug 15 2000 - 19:46:31 CDT