mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: gsave
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Save and Restore Graphics Context
|
|
## condition: "source.objc, source.objc++"
|
|
# --
|
|
[NSGraphicsContext saveGraphicsState];
|
|
$0
|
|
[NSGraphicsContext restoreGraphicsState];
|