You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2015/04/10 14:29:19 UTC
[4/6] git commit: [flex-utilities] [refs/heads/develop] - FLEX-34756
The unit test revealed a bug in the solution:
isTextFieldReadyForSpellingJob() should return true only if the textFlow is
not damaged (it used to do the opposite).
FLEX-34756 The unit test revealed a bug in the solution: isTextFieldReadyForSpellingJob() should return true only if the textFlow is not damaged (it used to do the opposite).
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/8363ebf3
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/8363ebf3
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/8363ebf3
Branch: refs/heads/develop
Commit: 8363ebf3be1d105dc168f2e75bb6aefe32da6430
Parents: daf48a0
Author: Mihai Chira <mi...@apache.org>
Authored: Fri Apr 10 14:25:47 2015 +0200
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri Apr 10 14:25:47 2015 +0200
----------------------------------------------------------------------
.../SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/8363ebf3/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as b/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
index 9b55ff6..0033320 100644
--- a/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
+++ b/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
@@ -352,7 +352,7 @@ package com.adobe.linguistics.spelling
if(!textFlow || !textFlow.flowComposer)
return true;
- return textFlow.flowComposer.isDamaged(textFlow.textLength);
+ return !textFlow.flowComposer.isDamaged(textFlow.textLength);
}
private function spellCheckRange(start:uint, end:uint):void {