![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOJavaScriptConsoleController.h>
Instance Methods | |
(IBAction) | - clearConsole: |
(IBAction) | - showConsole: |
(IBAction) | - toggleShowOnLog: |
(IBAction) | - toggleShowOnWarning: |
(IBAction) | - toggleShowOnError: |
(IBAction) | - consolePerformCommand: |
(void) | - appendMessage:colorKey:emphasisRange: |
(void) | - clearConsole |
(void) | - doShowConsole |
(void) | - noteConfigurationChanged: |
(void) | - setDebugger: |
(void) | - dealloc [implementation] |
(void) | - awakeFromNib [implementation] |
(void) | - applicationWillTerminate: [implementation] |
(BOOL) | - validateMenuItem: [implementation] |
(void) | - splitView:wasResizedFrom:to: [implementation] |
(NSColor *) | - foregroundColorForKey: [implementation] |
(NSColor *) | - backgroundColorForKey: [implementation] |
(void) | - reloadAllSettings [implementation] |
(void) | - setUpFonts [implementation] |
(void) | - saveHistory [implementation] |
![]() | |
(id) | - weakSelf |
(id) | - weakRetain [implementation] |
(void) | - weakRefDied: [implementation] |
![]() | |
(id) | - OO_RETURNS_RETAINED |
Private Attributes | |
IBOutlet NSWindow * | consoleWindow |
IBOutlet NSView * | consoleLogHolderView |
IBOutlet NSView * | consoleInputHolderView |
IBOutlet NSTextView * | consoleTextView |
IBOutlet NSTextField * | consoleInputField |
IBOutlet OOTextFieldHistoryManager * | inputHistoryManager |
RBSplitSubview * | inputSplitSubview |
IBOutlet NSScroller * | verticalScroller |
OOMacDebugger * | _debugger |
NSFont * | _baseFont |
NSFont * | _boldFont |
NSMutableDictionary * | _fgColors |
NSMutableDictionary * | _bgColors |
Additional Inherited Members | |
![]() | |
OOWeakReference * | weakSelf |
Definition at line 38 of file OOJavaScriptConsoleController.h.
- (void) appendMessage: | (NSString *) | string | |
colorKey: | (NSString *) | colorKey | |
emphasisRange: | (NSRange) | emphasisRange |
Definition at line 192 of file OOJavaScriptConsoleController.m.
References backgroundColorForKey:, foregroundColorForKey:, kConsoleMaxSize, kConsoleTrimToSize, nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT_VOID.
Referenced by OOMacDebugger::debugMonitor:jsConsoleOutput:colorKey:emphasisRange:, and OOMacDebugger::disconnectDebugMonitor:message:.
|
implementation |
Definition at line 138 of file OOJavaScriptConsoleController.m.
References saveHistory.
|
implementation |
Definition at line 94 of file OOJavaScriptConsoleController.m.
References RBSplitView::addSubview:atPosition:, awakeFromNib, consoleTextView, inputSplitSubview, kConsoleMaxSize, kConsoleTrimToSize, reloadAllSettings, RBSplitView::setDelegate:, RBSplitSubview::setDimension:, RBSplitView::setDivider:, OOTextFieldHistoryManager::setHistory:, RBSplitSubview::setMinDimension:andMaxDimension:, RBSplitView::setVertical:, and RBSplitView::subviewAtPosition:.
Referenced by awakeFromNib.
|
implementation |
Provided by category OOJavaScriptConsoleController(Private).
Definition at line 376 of file OOJavaScriptConsoleController.m.
Referenced by appendMessage:colorKey:emphasisRange:, OOJavaScriptConsoleController(Private)::backgroundColorForKey:, noteConfigurationChanged:, and OOJavaScriptConsoleController(Private)::reloadAllSettings.
- (void) clearConsole |
Definition at line 252 of file OOJavaScriptConsoleController.m.
References clearConsole, and nil.
Referenced by clearConsole, clearConsole:, and OOMacDebugger::debugMonitorClearConsole:.
- (IBAction) clearConsole: | (id) | sender |
Definition at line 146 of file OOJavaScriptConsoleController.m.
References clearConsole.
- (IBAction) consolePerformCommand: | (id) | sender |
Definition at line 176 of file OOJavaScriptConsoleController.m.
References OOTextFieldHistoryManager::addToHistory:, nil, OOMacDebugger::performConsoleCommand:, and saveHistory.
|
implementation |
Reimplemented from OOWeakRefObject.
Definition at line 79 of file OOJavaScriptConsoleController.m.
References dealloc, and OOWeakRefObject::dealloc.
Referenced by dealloc.
- (void) doShowConsole |
Definition at line 261 of file OOJavaScriptConsoleController.m.
References doShowConsole.
Referenced by OOMacDebugger::debugMonitorShowConsole:, and doShowConsole.
|
implementation |
Provided by category OOJavaScriptConsoleController(Private).
Definition at line 340 of file OOJavaScriptConsoleController.m.
Referenced by appendMessage:colorKey:emphasisRange:, and OOJavaScriptConsoleController(Private)::foregroundColorForKey:.
- (void) noteConfigurationChanged: | (NSString *) | key |
Definition at line 268 of file OOJavaScriptConsoleController.m.
References backgroundColorForKey:, and setUpFonts.
Referenced by OOMacDebugger::debugMonitor:noteChangedConfigrationValue:forKey:, and OOMacDebugger::debugMonitor:noteConfiguration:.
|
implementation |
Provided by category OOJavaScriptConsoleController(Private).
Definition at line 412 of file OOJavaScriptConsoleController.m.
Referenced by awakeFromNib, and setDebugger:.
|
implementation |
Provided by category OOJavaScriptConsoleController(Private).
Definition at line 448 of file OOJavaScriptConsoleController.m.
Referenced by applicationWillTerminate:, and consolePerformCommand:.
- (void) setDebugger: | (OOMacDebugger *) | debugger |
Definition at line 288 of file OOJavaScriptConsoleController.m.
References _debugger, and reloadAllSettings.
Referenced by OOMacDebugger::initWithController:.
|
implementation |
Provided by category OOJavaScriptConsoleController(Private).
Definition at line 421 of file OOJavaScriptConsoleController.m.
Referenced by noteConfigurationChanged:, and OOJavaScriptConsoleController(Private)::reloadAllSettings.
- (IBAction) showConsole: | (id) | sender |
Definition at line 152 of file OOJavaScriptConsoleController.m.
References OODebugMonitor::sharedDebugMonitor, and OODebugMonitor::showJSConsole.
|
implementation |
Definition at line 330 of file OOJavaScriptConsoleController.m.
References RBSplitView::adjustSubviewsExcepting:.
- (IBAction) toggleShowOnError: | (id) | sender |
Definition at line 164 of file OOJavaScriptConsoleController.m.
References OOMacDebugger::performConsoleCommand:.
- (IBAction) toggleShowOnLog: | (id) | sender |
Definition at line 170 of file OOJavaScriptConsoleController.m.
References OOMacDebugger::performConsoleCommand:.
- (IBAction) toggleShowOnWarning: | (id) | sender |
Definition at line 158 of file OOJavaScriptConsoleController.m.
References OOMacDebugger::performConsoleCommand:.
|
implementation |
Definition at line 297 of file OOJavaScriptConsoleController.m.
References OOMacDebugger::configurationBoolValueForKey:, OODebugMonitor::debuggerConnected, nil, and OODebugMonitor::sharedDebugMonitor.
|
private |
Definition at line 57 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 62 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 58 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 55 of file OOJavaScriptConsoleController.h.
Referenced by setDebugger:.
|
private |
Definition at line 61 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 49 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 45 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 44 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 48 of file OOJavaScriptConsoleController.h.
Referenced by awakeFromNib.
|
private |
Definition at line 41 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 51 of file OOJavaScriptConsoleController.h.
|
private |
Definition at line 52 of file OOJavaScriptConsoleController.h.
Referenced by awakeFromNib.
|
private |
Definition at line 53 of file OOJavaScriptConsoleController.h.