Get unsaved data from editor

3 views
Skip to first unread message

DFGrumpy

unread,
Jan 17, 2011, 11:29:32 PM1/17/11
to cfb-extensions-dev
Hi All,

I ran into an interesting issue working on an extension. Simply
put, I need to figure out how to get the unsaved data sitting in the
editor. For an extension I am working, on it is possible the use may
invoke it without saving the file. So, for this reason I need to get
the unsaved data from the editor. I have yet to figure out how.

Anyone have any ideas? Is this even possible?

Thanks,

--Dave

Raymond Camden

unread,
Jan 18, 2011, 8:25:04 AM1/18/11
to cfb-exten...@googlegroups.com
As far as I know, you cannot do this. If you get the current selection
via the extension api, it isn't the text "as you see it", but the
position length. So once you read the file, it won't be the same as
what the user sees.

--
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email    : r...@camdenfamily.com
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with Android news: http://www.androidgator.com

Reply all
Reply to author
Forward
0 new messages