You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2015/12/13 14:10:12 UTC
git commit: [flex-tlf] [refs/heads/develop] - Attempt at fixing
FLEX-34988 Need to confirm that \uFDEF is the correct way to represent an
inline graphic.
Repository: flex-tlf
Updated Branches:
refs/heads/develop 96407e259 -> dd7faa3e0
Attempt at fixing FLEX-34988
Need to confirm that \uFDEF is the correct way to represent an inline graphic.
Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/dd7faa3e
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/dd7faa3e
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/dd7faa3e
Branch: refs/heads/develop
Commit: dd7faa3e0e3263728a313f398283560bd1e7868c
Parents: 96407e2
Author: Harbs <ha...@in-tools.com>
Authored: Sun Dec 13 15:10:07 2015 +0200
Committer: Harbs <ha...@in-tools.com>
Committed: Sun Dec 13 15:10:07 2015 +0200
----------------------------------------------------------------------
.../src/flashx/textLayout/elements/InlineGraphicElement.as | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/dd7faa3e/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as b/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
index fcf39cb..5454867 100644
--- a/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
+++ b/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
@@ -378,7 +378,14 @@ package flashx.textLayout.elements
CONFIG::debug { assert(_graphicStatus is ErrorEvent,"unexpected _graphicStatus"); }
return InlineGraphicElementStatus.ERROR;
}
-
+
+ /** @private
+ */
+ public override function getText(relativeStart:int=0, relativeEnd:int=-1, paragraphSeparator:String="\n"):String
+ {
+ return String.fromCharCode(0xFDEF);
+ }
+
private function changeGraphicStatus(stat:Object):void
{
var oldStatus:String = status;