OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 /** | 281 /** |
282 * @param {WebInspector.CompletionDictionary} dictionary | 282 * @param {WebInspector.CompletionDictionary} dictionary |
283 */ | 283 */ |
284 setCompletionDictionary: function(dictionary) { }, | 284 setCompletionDictionary: function(dictionary) { }, |
285 } | 285 } |
286 | 286 |
287 /** | 287 /** |
288 * @interface | 288 * @interface |
289 */ | 289 */ |
| 290 WebInspector.TextEditorPositionHandle = function() |
| 291 { |
| 292 } |
| 293 |
| 294 WebInspector.TextEditorPositionHandle.prototype = { |
| 295 /** |
| 296 * @return {?{lineNumber: number, columnNumber: number}} |
| 297 */ |
| 298 resolve: function() { }, |
| 299 |
| 300 /** |
| 301 * @param {WebInspector.TextEditorPositionHandle} positionHandle |
| 302 * @return {boolean} |
| 303 */ |
| 304 equal: function(positionHandle) { } |
| 305 } |
| 306 |
| 307 /** |
| 308 * @interface |
| 309 */ |
290 WebInspector.TextEditorDelegate = function() | 310 WebInspector.TextEditorDelegate = function() |
291 { | 311 { |
292 } | 312 } |
293 | 313 |
294 WebInspector.TextEditorDelegate.prototype = { | 314 WebInspector.TextEditorDelegate.prototype = { |
295 /** | 315 /** |
296 * @param {WebInspector.TextRange} oldRange | 316 * @param {WebInspector.TextRange} oldRange |
297 * @param {WebInspector.TextRange} newRange | 317 * @param {WebInspector.TextRange} newRange |
298 */ | 318 */ |
299 onTextChanged: function(oldRange, newRange) { }, | 319 onTextChanged: function(oldRange, newRange) { }, |
(...skipping 20 matching lines...) Expand all Loading... |
320 * @param {WebInspector.ContextMenu} contextMenu | 340 * @param {WebInspector.ContextMenu} contextMenu |
321 * @param {number} lineNumber | 341 * @param {number} lineNumber |
322 */ | 342 */ |
323 populateTextAreaContextMenu: function(contextMenu, lineNumber) { }, | 343 populateTextAreaContextMenu: function(contextMenu, lineNumber) { }, |
324 | 344 |
325 /** | 345 /** |
326 * @param {string} hrefValue | 346 * @param {string} hrefValue |
327 * @param {boolean} isExternal | 347 * @param {boolean} isExternal |
328 * @return {Element} | 348 * @return {Element} |
329 */ | 349 */ |
330 createLink: function(hrefValue, isExternal) { } | 350 createLink: function(hrefValue, isExternal) { }, |
| 351 |
| 352 /** |
| 353 * @param {WebInspector.TextEditorPositionHandle} from |
| 354 * @param {WebInspector.TextEditorPositionHandle} to |
| 355 */ |
| 356 onJumpToPosition: function(from, to) { } |
331 } | 357 } |
OLD | NEW |