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 <[email protected]>
Authored: Sun Dec 13 15:10:07 2015 +0200
Committer: Harbs <[email protected]>
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;

Reply via email to