-
timothy@apple.com authored
This is important when the user typed text that is a different case than the completion. This has no affect on the Console, since it matches completions case-sensitively. This is used in the up-coming Database Query view for words like "SELECT" and "INSERT". Reviewed by Adam Roben. * page/inspector/TextPrompt.js: (WebInspector.TextPrompt.prototype.clearAutoComplete): Restore the user typed text in the original DOM range that complete() saved away. (WebInspector.TextPrompt.prototype.complete): Store away the fullWordRange and it's text content so clearAutoComplete can restore it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5882d3f3