![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOTextFieldHistoryManager.h>
Instance Methods | |
(NSArray *) | - history |
(void) | - setHistory: |
(void) | - addToHistory: |
(NSUInteger) | - historySize |
(void) | - setHistorySize: |
(BOOL) | - control:textView:doCommandBySelector: [implementation] |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
(void) | - checkInvariant [implementation] |
(void) | - maintainInvariant [implementation] |
(void) | - moveHistoryCursorTo:fieldEditor: [implementation] |
(void) | - moveHistoryCursorBy:fieldEditor: [implementation] |
Private Attributes | |
IBOutlet NSTextField * | textField |
NSMutableArray * | _history |
NSUInteger | _historyMaxSize |
NSUInteger | _historyCurrSize |
NSUInteger | _historyCursor |
NSString * | _latest |
Definition at line 41 of file OOTextFieldHistoryManager.h.
- (void) addToHistory: | (NSString *) | string |
Definition at line 111 of file OOTextFieldHistoryManager.m.
References _history, _historyCurrSize, _historyCursor, _latest, checkInvariant, maintainInvariant, and nil.
Referenced by OOJavaScriptConsoleController::consolePerformCommand:.
|
implementation |
Provided by category OOTextFieldHistoryManager(Private).
Definition at line 144 of file OOTextFieldHistoryManager.m.
Referenced by addToHistory:, init, OOTextFieldHistoryManager(Private)::maintainInvariant, OOTextFieldHistoryManager(Private)::moveHistoryCursorTo:fieldEditor:, and setHistory:.
|
implementation |
Definition at line 48 of file OOTextFieldHistoryManager.m.
References moveHistoryCursorBy:fieldEditor:, and textField.
|
implementation |
Definition at line 84 of file OOTextFieldHistoryManager.m.
References dealloc.
Referenced by dealloc.
- (NSArray *) history |
Definition at line 92 of file OOTextFieldHistoryManager.m.
References history.
Referenced by history, and setHistory:.
- (NSUInteger) historySize |
Definition at line 127 of file OOTextFieldHistoryManager.m.
References _historyMaxSize, and historySize.
Referenced by historySize.
|
implementation |
Definition at line 71 of file OOTextFieldHistoryManager.m.
References _history, _historyMaxSize, checkInvariant, init, kDefaultHistorySize, and nil.
Referenced by init.
|
implementation |
Provided by category OOTextFieldHistoryManager(Private).
Definition at line 154 of file OOTextFieldHistoryManager.m.
Referenced by addToHistory:, setHistory:, and setHistorySize:.
|
implementation |
Provided by category OOTextFieldHistoryManager(Private).
Definition at line 203 of file OOTextFieldHistoryManager.m.
Referenced by control:textView:doCommandBySelector:.
|
implementation |
Provided by category OOTextFieldHistoryManager(Private).
Definition at line 168 of file OOTextFieldHistoryManager.m.
Referenced by OOTextFieldHistoryManager(Private)::moveHistoryCursorBy:fieldEditor:.
- (void) setHistory: | (NSArray *) | history |
Definition at line 98 of file OOTextFieldHistoryManager.m.
References _history, _historyCursor, checkInvariant, history, maintainInvariant, and nil.
Referenced by OOJavaScriptConsoleController::awakeFromNib.
- (void) setHistorySize: | (NSUInteger) | size |
Definition at line 133 of file OOTextFieldHistoryManager.m.
References _historyMaxSize, and maintainInvariant.
|
private |
Definition at line 46 of file OOTextFieldHistoryManager.h.
Referenced by addToHistory:, init, and setHistory:.
|
private |
Definition at line 48 of file OOTextFieldHistoryManager.h.
Referenced by addToHistory:.
|
private |
Definition at line 49 of file OOTextFieldHistoryManager.h.
Referenced by addToHistory:, and setHistory:.
|
private |
Definition at line 47 of file OOTextFieldHistoryManager.h.
Referenced by historySize, init, and setHistorySize:.
|
private |
Definition at line 50 of file OOTextFieldHistoryManager.h.
Referenced by addToHistory:.
|
private |
Definition at line 44 of file OOTextFieldHistoryManager.h.
Referenced by control:textView:doCommandBySelector:.