bug 1172523 - Allow getting the modified text from an AccTextChangeEvent without copying r=lsocks

This commit is contained in:
Trevor Saunders 2015-06-05 14:41:32 -04:00
parent 54dce77086
commit 6411ad8bd2

View File

@ -194,6 +194,7 @@ public:
bool IsTextInserted() const { return mIsInserted; }
void GetModifiedText(nsAString& aModifiedText)
{ aModifiedText = mModifiedText; }
const nsString& ModifiedText() const { return mModifiedText; }
private:
int32_t mStart;