This is a wordfile for UltraEdit that provides some much needed syntax highlighting. I dug around the Smali code as much as I could to make sure everything was good. It handles all the keywords and operations.
Here's my code:
// Last updated 7/21/2010/L20"Smali" Nocase Line Comment = # String Chars = " File Extensions = SMALI Escape Char = \/Colors = 0,8421376,8421376,8421504,255,/Colors Back = 16777215,16777215,16777215,16777215,16777215,/Colors Auto Back = 1,1,1,1,1,/Font Style = 0,0,0,0,0,/Open Brace Strings = "{" "(" "["/Close Brace Strings = "}" ")" "]"/Open Fold Strings = ".annotation" ".field" ".method"/Close Fold Strings = ".end annotation" ".end field" ".end method"/Indent Strings = "{" ".method"/Unindent Strings = "}" ".end method"/Delimiters = " $(), +.:;=>{}~/C1"Keywords 1" STYLE_KEYWORD Colors = 16711680 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 1.annotation .array-data.catch .catchall .class.end .enum .epilogue.field.implements .line.local .locals.method.packed-switch .parameter .prologue.registers .restart.source .sparse-switch .subannotation .superannotation array-datafieldlocalmethodpacked-switch parametersparse-switch subannotation/C2"Keywords 2" STYLE_KEYWORD Colors = 32768 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0abstract annotationbridgeconstructordeclared-synchronizedenumfinalinterfacenativeprivate protected publicstatic strictfp synchronized synthetic systemtransientvarargs volatile/C3"Instructions" Colors = 33023 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0add-double add-float add-int add-int/2addr add-int/lit8 add-int/lit16 add-int/lit32 add-int/lit64add-long add-long/2addr aget aget-boolean aget-byte aget-char aget-object aget-short aget-wide and-intand-int/2addr and-long aput aput-boolean aput-byte aput-char aput-object aput-short aput-wide array-lengthcheck-cast cmpg-double cmpg-float cmpl-double cmpl-float cmp-long const const/16 const/4 const/high16v0 const-class const-string const-string-jumboconst-wide const-wide/16 const-wide/32 const-wide/high16div-double div-float div-int div-int/2addr div-long double-to-float double-to-int double-to-longfill-array-data filled-new-array filled-new-array-range float-to-double float-to-int float-to-longgoto goto/16 goto/32if-eq if-eqz if-ge if-gez if-gt if-gtz if-le if-lez if-lt if-ltz if-ne if-nez iget iget-boolean iget-byte iget-char iget-object iget-shortiget-wide instance-of int-to-byte int-to-char int-to-double int-to-float int-to-long int-to-short invoke-direct invoke-direct/range invoke-interfaceinvoke-interface-range invoke-static invoke-static/range invoke-super invoke-super/range invoke-virtual invoke-virtual/range iput iput-booleaniput-byte iput-char iput-object iput-short iput-widelong-to-double long-to-float long-to-intmonitor-enter monitor-exit move move/16 move/from16 move-exception move-object move-object/16 move-object/from16 move-result move-result-objectmove-result-wide move-wide move-wide/16 move-wide/from16 mul-double mul-float mul-int mul-int/2addr mul-long mul-long/2addrneg-double neg-float neg-int neg-long new-array new-instance nop not-int not-longor-int or-int/2addr or-longpacked-switchrem-double rem-float rem-int rem-int/2addr rem-long return return-object return-void return-widesget sget-boolean sget-byte sget-char sget-object sget-short sget-wide shl-int shl-int/2addr shl-long shr-int shr-int/2addr shr-longsparse-switch sput sput-boolean sput-byte sput-char sput-object sput-short sput-wide sub-double sub-float sub-int sub-int/2addrsub-long sub-long/2addrthrowushr-int ushr-int/2addr ushr-longxor-int xor-int/2addr xor-long/C4"Keywords 3" Colors = 16744448 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0truefalsenull/C5"Keywords 4" Colors = 4210816 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0buildruntimesystem/C6"Section 1" Colors = 33023 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0** : .../C7"Section 2" Colors = 4227200 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0** $ .../C8"Delimiters" Colors = 16711680 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0=:
I'll keep an updated version here.
No comments:
Post a Comment