# -*- 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];