Метод | Описание | |
---|---|---|
DidBecomeKey ( NSNotification notification ) : void |
Called when the window gains focus and becomes the active window. We are using this method to update the preview of the document and to populate the Formatting Menu with any extra commands from the document's AppKit.TextKit.Formatter.LanguageFormatter. |
|
DidResignKey ( NSNotification notification ) : void |
Called when the window loses focus and falls into the background. We are using this method to remove any custom commands added to the Formatting Menu by the AppKit.TextKit.Formatter.LanguageFormatter. |
|
EditorWidowDelegate ( NSWindow window ) : System |
Initializes a new instance of the SourceWriter.EditorWidowDelegate class.
|
|
WindowShouldClose ( Foundation sender ) : bool |
Called before an
|
public DidBecomeKey ( NSNotification notification ) : void | ||
notification | NSNotification | Notification. |
Результат | void |
public DidResignKey ( NSNotification notification ) : void | ||
notification | NSNotification | Notification. |
Результат | void |
public EditorWidowDelegate ( NSWindow window ) : System | ||
window | NSWindow | The |
Результат | System |
public WindowShouldClose ( Foundation sender ) : bool | ||
sender | Foundation | The |
Результат | bool |