| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 | 1045 |
| 1046 this._messageURLFiltersSetting = Common.settings.createSetting('messageURLFi
lters', {}); | 1046 this._messageURLFiltersSetting = Common.settings.createSetting('messageURLFi
lters', {}); |
| 1047 this._messageLevelFiltersSetting = | 1047 this._messageLevelFiltersSetting = |
| 1048 Common.settings.createSetting('messageLevelFilters2', SDK.ConsoleMessage
.MessageLevel.Info); | 1048 Common.settings.createSetting('messageLevelFilters2', SDK.ConsoleMessage
.MessageLevel.Info); |
| 1049 this._hideNetworkMessagesSetting = Common.moduleSetting('hideNetworkMessages
'); | 1049 this._hideNetworkMessagesSetting = Common.moduleSetting('hideNetworkMessages
'); |
| 1050 | 1050 |
| 1051 this._messageURLFiltersSetting.addChangeListener(this._filterChanged); | 1051 this._messageURLFiltersSetting.addChangeListener(this._filterChanged); |
| 1052 this._messageLevelFiltersSetting.addChangeListener(this._filterChanged); | 1052 this._messageLevelFiltersSetting.addChangeListener(this._filterChanged); |
| 1053 this._hideNetworkMessagesSetting.addChangeListener(this._filterChanged); | 1053 this._hideNetworkMessagesSetting.addChangeListener(this._filterChanged); |
| 1054 | 1054 |
| 1055 this._textFilterUI = new UI.ToolbarInput(Common.UIString('Filter'), 0.2, 1); | 1055 this._textFilterUI = new UI.ToolbarInput(Common.UIString('Filter'), 0.2, 1,
true); |
| 1056 this._textFilterUI.addEventListener(UI.ToolbarInput.Event.TextChanged, this.
_textFilterChanged, this); | 1056 this._textFilterUI.addEventListener(UI.ToolbarInput.Event.TextChanged, this.
_textFilterChanged, this); |
| 1057 | 1057 |
| 1058 var levels = [ | 1058 var levels = [ |
| 1059 {value: SDK.ConsoleMessage.MessageLevel.Verbose, label: Common.UIString('V
erbose')}, | 1059 {value: SDK.ConsoleMessage.MessageLevel.Verbose, label: Common.UIString('V
erbose')}, |
| 1060 {value: SDK.ConsoleMessage.MessageLevel.Info, label: Common.UIString('Info
'), default: true}, | 1060 {value: SDK.ConsoleMessage.MessageLevel.Info, label: Common.UIString('Info
'), default: true}, |
| 1061 {value: SDK.ConsoleMessage.MessageLevel.Warning, label: Common.UIString('W
arnings')}, | 1061 {value: SDK.ConsoleMessage.MessageLevel.Warning, label: Common.UIString('W
arnings')}, |
| 1062 {value: SDK.ConsoleMessage.MessageLevel.Error, label: Common.UIString('Err
ors')} | 1062 {value: SDK.ConsoleMessage.MessageLevel.Error, label: Common.UIString('Err
ors')} |
| 1063 ]; | 1063 ]; |
| 1064 | 1064 |
| 1065 this._levelComboBox = | 1065 this._levelComboBox = |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 return true; | 1315 return true; |
| 1316 } | 1316 } |
| 1317 return false; | 1317 return false; |
| 1318 } | 1318 } |
| 1319 }; | 1319 }; |
| 1320 | 1320 |
| 1321 /** | 1321 /** |
| 1322 * @typedef {{messageIndex: number, matchIndex: number}} | 1322 * @typedef {{messageIndex: number, matchIndex: number}} |
| 1323 */ | 1323 */ |
| 1324 Console.ConsoleView.RegexMatchRange; | 1324 Console.ConsoleView.RegexMatchRange; |
| OLD | NEW |