mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 15:32:25 +00:00
adding objc-snippets
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# -*- 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];
|
||||
Reference in New Issue
Block a user