| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 this._textEditor.setSelection(selection); | 294 this._textEditor.setSelection(selection); |
| 295 } | 295 } |
| 296 | 296 |
| 297 this._updateHighlighterType(content || ""); | 297 this._updateHighlighterType(content || ""); |
| 298 this._wasShownOrLoaded(); | 298 this._wasShownOrLoaded(); |
| 299 | 299 |
| 300 if (this._delayedFindSearchMatches) { | 300 if (this._delayedFindSearchMatches) { |
| 301 this._delayedFindSearchMatches(); | 301 this._delayedFindSearchMatches(); |
| 302 delete this._delayedFindSearchMatches; | 302 delete this._delayedFindSearchMatches; |
| 303 } | 303 } |
| 304 this.onTextEditorContentLoaded(); | 304 this.onTextEditorContentSet(); |
| 305 }, | 305 }, |
| 306 | 306 |
| 307 onTextEditorContentLoaded: function() {}, | 307 onTextEditorContentSet: function() {}, |
| 308 | 308 |
| 309 /** | 309 /** |
| 310 * @param {?WebInspector.SearchableView} view | 310 * @param {?WebInspector.SearchableView} view |
| 311 */ | 311 */ |
| 312 setSearchableView: function(view) | 312 setSearchableView: function(view) |
| 313 { | 313 { |
| 314 this._searchableView = view; | 314 this._searchableView = view; |
| 315 }, | 315 }, |
| 316 | 316 |
| 317 /** | 317 /** |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 /** | 720 /** |
| 721 * @override | 721 * @override |
| 722 * @param {?WebInspector.TextRange} from | 722 * @param {?WebInspector.TextRange} from |
| 723 * @param {?WebInspector.TextRange} to | 723 * @param {?WebInspector.TextRange} to |
| 724 */ | 724 */ |
| 725 onJumpToPosition: function(from, to) | 725 onJumpToPosition: function(from, to) |
| 726 { | 726 { |
| 727 this._sourceFrame.onJumpToPosition(from, to); | 727 this._sourceFrame.onJumpToPosition(from, to); |
| 728 } | 728 } |
| 729 } | 729 } |
| OLD | NEW |