1. IsEditable is much less hacky. It basically says: 1. if the node is a special bogus text node, it's not editable 2. if the node is a text node with only newlines, then it's not editable 3. if the node has no frame associated with it, then it is not editable 4. otherwise, it is editable. As part of this, I had to make IsEditable non-static. This had some cascading effects on static methods that called IsEditable, which likewise had to be made non-static. 2. SetTextProperties now works when the endpoints are leaf nodes (like images), not just text. Charlie, you should put this through some stress cases. git-svn-id: svn://10.0.0.236/trunk@37741 18797224-902f-48f8-a5cc-f745e15eee43
33 KiB
33 KiB