App-Mxpress-PDF
view release on metacpan or search on metacpan
public/javascripts/ace/mode-objectivec.js view on Meta::CPAN
{
token: "storage.type.objc",
regex: "\\bid\\s*<",
next: "protocol_list"
},
{
token: "keyword.control.macro.objc",
regex: "\\bNS_DURING|NS_HANDLER|NS_ENDHANDLER\\b"
},
{
token: ["punctuation.definition.keyword.objc", "keyword.control.exception.objc"],
regex: "(@)(try|catch|finally|throw)\\b"
},
{
token: ["punctuation.definition.keyword.objc", "keyword.other.objc"],
regex: "(@)(defs|encode)\\b"
},
{
token: ["storage.type.id.objc", "text"],
regex: "(\\bid\\b)(\\s|\\n)?"
},
{
token: "storage.type.objc",
regex: "\\bIBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class\\b"
},
{
token: [ "punctuation.definition.storage.type.objc", "storage.type.objc"],
regex: "(@)(class|protocol)\\b"
},
{
token: [ "punctuation.definition.storage.type.objc", "punctuation"],
regex: "(@selector)(\\s*\\()",
next: "selectors"
},
{
token: [ "punctuation.definition.storage.modifier.objc", "storage.modifier.objc"],
regex: "(@)(synchronized|public|private|protected|package)\\b"
},
{
token: "constant.language.objc",
regex: "\\bYES|NO|Nil|nil\\b"
},
{
token: "support.variable.foundation",
regex: "\\bNSApp\\b"
},
{
token: [ "support.function.cocoa.leopard"],
regex: "(?:\\b)(NS(?:Rect(?:ToCGRect|FromCGRect)|MakeCollectable|S(?:tringFromProtocol|ize(?:ToCGSize|FromCGSize))|Draw(?:NinePartImage|ThreePartImage)|P(?:oint(?:ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))(?:\\b)"
},
{
token: ["support.function.cocoa"],
regex: "(?:\\b)(NS(?:R(?:ound(?:DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(?:CriticalAlertPanel(?:RelativeToWindow)?|InformationalAlertPanel(?:RelativeToWindow)?|AlertPanel(?:RelativeToWindow)?)|e(?:set(?:MapTable|HashTable)|c(?:...
},
{
token: ["support.class.cocoa.leopard"],
regex: "(?:\\b)(NS(?:RuleEditor|G(?:arbageCollector|radient)|MapTable|HashTable|Co(?:ndition|llectionView(?:Item)?)|T(?:oolbarItemGroup|extInputClient|r(?:eeNode|ackingArea))|InvocationOperation|Operation(?:Queue)?|D(?:ictionaryController...
},
{
token: ["support.class.cocoa"],
regex: "(?:\\b)(NS(?:R(?:u(?:nLoop|ler(?:Marker|View))|e(?:sponder|cursiveLock|lativeSpecifier)|an(?:domSpecifier|geSpecifier))|G(?:etCommand|lyph(?:Generator|Storage|Info)|raphicsContext)|XML(?:Node|D(?:ocument|TD(?:Node)?)|Parser|Elemen...
},
{
token: ["support.type.cocoa.leopard"],
regex: "(?:\\b)(NS(?:R(?:u(?:nLoop|ler(?:Marker|View))|e(?:sponder|cursiveLock|lativeSpecifier)|an(?:domSpecifier|geSpecifier))|G(?:etCommand|lyph(?:Generator|Storage|Info)|raphicsContext)|XML(?:Node|D(?:ocument|TD(?:Node)?)|Parser|Elemen...
},
{
token: ["support.class.quartz"],
regex: "(?:\\b)(C(?:I(?:Sampler|Co(?:ntext|lor)|Image(?:Accumulator)?|PlugIn(?:Registration)?|Vector|Kernel|Filter(?:Generator|Shape)?)|A(?:Renderer|MediaTiming(?:Function)?|BasicAnimation|ScrollLayer|Constraint(?:LayoutManager)?|T(?:iled...
},
{
token: ["support.type.quartz"],
regex: "(?:\\b)(C(?:G(?:Float|Point|Size|Rect)|IFormat|AConstraintAttribute))(?:\\b)"
},
{
token: ["support.type.cocoa"],
regex: "(?:\\b)(NS(?:R(?:ect(?:Edge)?|ange)|G(?:lyph(?:Relation|LayoutMode)?|radientType)|M(?:odalSession|a(?:trixMode|p(?:Table|Enumerator)))|B(?:itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|...
},
{
token: ["support.constant.cocoa"],
regex: "(?:\\b)(NS(?:NotFound|Ordered(?:Ascending|Descending|Same)))(?:\\b)"
},
{
token: ["support.constant.notification.cocoa.leopard"],
regex: "(?:\\b)(NS(?:MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification)(?:\\b)"
},
{
token: ["support.constant.notification.cocoa"],
regex: "(?:\\b)(NS(?:Menu(?:Did(?:RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(?:ystemColorsDidChange|plitView(?:DidResizeSubviews|WillResizeSubviews))|C(?:o(?:nt(?:extHelpModeDid(?:Deactivate|Activate)|rolT(?:i...
},
{
token: ["support.constant.cocoa.leopard"],
regex: "(?:\\b)(NS(?:RuleEditor(?:RowType(?:Simple|Compound)|NestingMode(?:Si(?:ngle|mple)|Compound|List))|GradientDraws(?:BeforeStartingLocation|AfterEndingLocation)|M(?:inusSetExpressionType|a(?:chPortDeallocate(?:ReceiveRight|SendRight...
},
{
token: ["support.constant.cocoa"],
regex: "(?:\\b)(NS(?:R(?:GB(?:ModeColorPanel|ColorSpaceModel)|ight(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|T(?:ext(?:Movement|Alignment)|ab(?:sBezelBorder|StopType))|ArrowFunctionKey)|ound(?:RectBezelStyle|Bankers|ed(?:Be...
},
{
token: "support.function.C99.c",
regex: C_Highlight_File.cFunctions
},
{
token : cObj.getKeywords(),
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
},
{
token: "punctuation.section.scope.begin.objc",
regex: "\\[",
next: "bracketed_content"
},
{
token: "meta.function.objc",
regex: "^(?:-|\\+)\\s*"
}
],
"constant_NSString": [
{
token: "constant.character.escape.objc",
regex: escapedConstRe
},
{
token: "invalid.illegal.unknown-escape.objc",
regex: "\\\\."
},
{
token: "string",
regex: '[^"\\\\]+'
},
{
token: "punctuation.definition.string.end",
regex: "\"",
next: "start"
}
],
"protocol_list": [
{
token: "punctuation.section.scope.end.objc",
regex: ">",
next: "start"
},
{
token: "support.other.protocol.objc",
regex: "\bNS(?:GlyphStorage|M(?:utableCopying|enuItem)|C(?:hangeSpelling|o(?:ding|pying|lorPicking(?:Custom|Default)))|T(?:oolbarItemValidations|ext(?:Input|AttachmentCell))|I(?:nputServ(?:iceProvider|erMouseTracker)|gnoreMisspelledWords)...
}
],
"selectors": [
{
token: "support.function.any-method.name-of-parameter.objc",
regex: "\\b(?:[a-zA-Z_:][\\w]*)+"
},
{
token: "punctuation",
regex: "\\)",
next: "start"
}
],
( run in 1.004 second using v1.01-cache-2.11-cpan-39bf76dae61 )