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


Subject: patch: DebugFlash (was RE: Marking as we spell check)
From: WJCarpenter (bill-abisource@carpenter.ORG)
Date: Tue Aug 15 2000 - 17:44:51 CDT


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); }



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