<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: First Prototype of Extensible Editor2/Editor2Toolbar</title>
	<atom:link href="http://www.liucougar.net/blog/archives/41/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liucougar.net/blog/archives/41</link>
	<description></description>
	<lastBuildDate>Thu, 03 Nov 2011 09:49:34 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: liucougar</title>
		<link>http://www.liucougar.net/blog/archives/41/comment-page-1#comment-39916</link>
		<dc:creator>liucougar</dc:creator>
		<pubDate>Tue, 03 Jul 2007 00:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/41#comment-39916</guid>
		<description>I have no idea how to detect when the native control generates an internal undo step. 

The solution I have is to implement all things in javascript: just setup a timer, if in that period, no user typing, then that marks the end of a typing action.</description>
		<content:encoded><![CDATA[<p>I have no idea how to detect when the native control generates an internal undo step. </p>
<p>The solution I have is to implement all things in javascript: just setup a timer, if in that period, no user typing, then that marks the end of a typing action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R</title>
		<link>http://www.liucougar.net/blog/archives/41/comment-page-1#comment-39898</link>
		<dc:creator>R</dc:creator>
		<pubDate>Mon, 02 Jul 2007 18:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/41#comment-39898</guid>
		<description>Hi licougar,

In my custom Editor (subclass of Editor2) I have commands that know how to undo themselves.  I store them onto my javascript undo stack.  I also have some editor2commands that call on the browser to perform operations, as well as to undo them.  I&#039;ve been pushing all commands onto my stack and everything seems to work fine.  However, I am having trouble with events that don&#039;t go through the Editor2 such as the user typing or deleting text in the editor.  While i know i can capture key events, it is difficult to know which key events are grouped into a single undo transaction by the browser.  So i was wondering if you had any ideas as to how i can figure out when a command gets pushed onto the undo stack of the browser...that way i can at least add some stub commands to my local undo stack and call on the browser to undo as i pop them off my stack.  Or if not, any other ideas?

thanks a bunch,
-R</description>
		<content:encoded><![CDATA[<p>Hi licougar,</p>
<p>In my custom Editor (subclass of Editor2) I have commands that know how to undo themselves.  I store them onto my javascript undo stack.  I also have some editor2commands that call on the browser to perform operations, as well as to undo them.  I&#8217;ve been pushing all commands onto my stack and everything seems to work fine.  However, I am having trouble with events that don&#8217;t go through the Editor2 such as the user typing or deleting text in the editor.  While i know i can capture key events, it is difficult to know which key events are grouped into a single undo transaction by the browser.  So i was wondering if you had any ideas as to how i can figure out when a command gets pushed onto the undo stack of the browser&#8230;that way i can at least add some stub commands to my local undo stack and call on the browser to undo as i pop them off my stack.  Or if not, any other ideas?</p>
<p>thanks a bunch,<br />
-R</p>
]]></content:encoded>
	</item>
</channel>
</rss>

