+ \r
+ this.node.onShow = function() {\r
+ if(!view.shownAlready) {\r
+ view.shownAlready = true;\r
+ view.selectFirstNode();\r
+ } else if(view.currentNode) {\r
+ view.movecaretToNode(view.getNodeElement(view.currentNode));\r
+ view.node.find('#rng-module-documentCanvas-contentWrapper').scrollTop(view.scrollbarPosition);\r
+ }\r
+ };\r
+ this.node.onHide = function() {\r
+ view.scrollbarPosition = view.node.find('#rng-module-documentCanvas-contentWrapper').scrollTop();\r
+ }\r
+ \r