ver 2009.10.14 → 2009.11.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. data/CHANGELOG +1094 -0
  2. data/MANIFEST +227 -25
  3. data/README.textile +185 -0
  4. data/bin/ver +96 -12
  5. data/config/detect.rb +73 -21
  6. data/config/keymap/emacs.rb +66 -0
  7. data/config/keymap/vim.rb +250 -140
  8. data/config/preferences/ANTLR.json +10 -0
  9. data/config/preferences/ASP vb.NET.json +3 -0
  10. data/config/preferences/ASP.json +15 -0
  11. data/config/preferences/ActionScript.json +755 -0
  12. data/config/preferences/Active4D.json +89 -0
  13. data/config/preferences/Ada.json +23 -0
  14. data/config/preferences/Ant.json +356 -0
  15. data/config/preferences/Apache.json +644 -0
  16. data/config/preferences/AppleScript.json +92 -0
  17. data/config/preferences/Bison.json +3 -0
  18. data/config/preferences/Blogging.json +3 -0
  19. data/config/preferences/C.json +127 -0
  20. data/config/preferences/CMake.json +41 -0
  21. data/config/preferences/CSS.json +461 -0
  22. data/config/preferences/CTags.json +3 -0
  23. data/config/preferences/CVS.json +3 -0
  24. data/config/preferences/ColdFusion.json +32 -0
  25. data/config/preferences/D.json +58 -0
  26. data/config/preferences/Darcs.json +3 -0
  27. data/config/preferences/Diff.json +67 -0
  28. data/config/preferences/DokuWiki.json +19 -0
  29. data/config/preferences/Doxygen.json +3 -0
  30. data/config/preferences/Dylan.json +3 -0
  31. data/config/preferences/Eiffel.json +59 -0
  32. data/config/preferences/Erlang.json +72 -0
  33. data/config/preferences/Experimental.json +1356 -0
  34. data/config/preferences/F-Script.json +87 -0
  35. data/config/preferences/FXScript.json +78 -0
  36. data/config/preferences/FileMerge.json +3 -0
  37. data/config/preferences/Fortran.json +158 -0
  38. data/config/preferences/GTD2.json +11 -0
  39. data/config/preferences/GTDAlt.json +20 -0
  40. data/config/preferences/GetBundle.json +3 -0
  41. data/config/preferences/Gettext.json +24 -0
  42. data/config/preferences/Graphviz.json +42 -0
  43. data/config/preferences/Greasemonkey.json +3 -0
  44. data/config/preferences/Gri.json +34 -0
  45. data/config/preferences/HTML.json +492 -0
  46. data/config/preferences/Haskell.json +72 -0
  47. data/config/preferences/Hotkey.json +3 -0
  48. data/config/preferences/ImageBrowser.json +3 -0
  49. data/config/preferences/Inform.json +3 -0
  50. data/config/preferences/Ini.json +60 -0
  51. data/config/preferences/Installer.json +3 -0
  52. data/config/preferences/Io.json +64 -0
  53. data/config/preferences/JSON.json +3 -0
  54. data/config/preferences/Java.json +86 -0
  55. data/config/preferences/JavaDoc.json +3 -0
  56. data/config/preferences/JavaScript.json +76 -0
  57. data/config/preferences/LaTeX.json +267 -0
  58. data/config/preferences/Lex/Flex.json +3 -0
  59. data/config/preferences/Lighttpd.json +3 -0
  60. data/config/preferences/LilyPond.json +77 -0
  61. data/config/preferences/Lisp.json +63 -0
  62. data/config/preferences/Logo.json +58 -0
  63. data/config/preferences/Logtalk.json +236 -0
  64. data/config/preferences/Lua.json +24 -0
  65. data/config/preferences/MEL.json +19 -0
  66. data/config/preferences/MIPS Assembler.json +26 -0
  67. data/config/preferences/MacPorts.json +3 -0
  68. data/config/preferences/Mail.json +3 -0
  69. data/config/preferences/Make.json +16 -0
  70. data/config/preferences/Markdown.json +102 -0
  71. data/config/preferences/Math.json +3 -0
  72. data/config/preferences/Matlab.json +128 -0
  73. data/config/preferences/Maven.json +308 -0
  74. data/config/preferences/Mediawiki.json +73 -0
  75. data/config/preferences/Mercurial.json +3 -0
  76. data/config/preferences/Modula.json +37 -0
  77. data/config/preferences/MoinMoin.json +52 -0
  78. data/config/preferences/Navigation.json +3 -0
  79. data/config/preferences/Nemerle.json +3 -0
  80. data/config/preferences/OCaml Code Completion.json +3 -0
  81. data/config/preferences/OCaml.json +163 -0
  82. data/config/preferences/ODCompletion.json +3 -0
  83. data/config/preferences/Objective-C.json +84 -0
  84. data/config/preferences/OpenGL.json +3331 -0
  85. data/config/preferences/Outlines.json +3 -0
  86. data/config/preferences/Pascal.json +60 -0
  87. data/config/preferences/Perforce.json +3 -0
  88. data/config/preferences/Perl.json +15 -0
  89. data/config/preferences/PmWiki.json +27 -0
  90. data/config/preferences/Postscript.json +15 -0
  91. data/config/preferences/Processing.json +32 -0
  92. data/config/preferences/Prolog.json +3 -0
  93. data/config/preferences/Propel.json +3 -0
  94. data/config/preferences/Python.json +38 -0
  95. data/config/preferences/Quake.json +15 -0
  96. data/config/preferences/R.json +33 -0
  97. data/config/preferences/Ragel.json +15 -0
  98. data/config/preferences/Regular Expressions.json +3 -0
  99. data/config/preferences/Remind.json +15 -0
  100. data/config/preferences/Rez.json +46 -0
  101. data/config/preferences/Ruby.json +98 -0
  102. data/config/preferences/S5 Slide Show.json +20 -0
  103. data/config/preferences/SCons.json +3 -0
  104. data/config/preferences/SQL.json +32 -0
  105. data/config/preferences/SSH Config.json +15 -0
  106. data/config/preferences/SVK.json +3 -0
  107. data/config/preferences/SWIG.json +3 -0
  108. data/config/preferences/SWeave.json +32 -0
  109. data/config/preferences/Scheme.json +35 -0
  110. data/config/preferences/Scilab.json +15 -0
  111. data/config/preferences/Setext.json +3 -0
  112. data/config/preferences/Shell Script.json +25 -0
  113. data/config/preferences/Slate.json +113 -0
  114. data/config/preferences/Source.json +132 -0
  115. data/config/preferences/Subversion.json +10 -0
  116. data/config/preferences/TODO.json +3 -0
  117. data/config/preferences/Tabular.json +3 -0
  118. data/config/preferences/Tcl.json +82 -0
  119. data/config/preferences/TerminalMate.json +112 -0
  120. data/config/preferences/Text.json +89 -0
  121. data/config/preferences/TextMate.json +38 -0
  122. data/config/preferences/Textile.json +76 -0
  123. data/config/preferences/Thrift.json +56 -0
  124. data/config/preferences/Transmit.json +3 -0
  125. data/config/preferences/Twiki.json +51 -0
  126. data/config/preferences/Txt2tags.json +81 -0
  127. data/config/preferences/Vectorscript.json +1280 -0
  128. data/config/preferences/XML.json +60 -0
  129. data/config/preferences/Xcode.json +3 -0
  130. data/config/preferences/YAML.json +24 -0
  131. data/config/preferences/iCalendar.json +10 -0
  132. data/config/preferences/iTerm.json +36 -0
  133. data/config/preferences/reStructuredText.json +48 -0
  134. data/config/rc.rb +49 -0
  135. data/config/syntax/ANTLR.json +5 -5
  136. data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
  137. data/config/syntax/ASP.json +1 -1
  138. data/config/syntax/ActionScript.json +6 -6
  139. data/config/syntax/Active4D Config.json +86 -0
  140. data/config/syntax/Active4D Library.json +20 -0
  141. data/config/syntax/Active4D.json +418 -0
  142. data/config/syntax/Ada.json +3 -3
  143. data/config/syntax/Ant.json +196 -0
  144. data/config/syntax/Apache.json +7 -7
  145. data/config/syntax/AppleScript.json +3 -3
  146. data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
  147. data/config/syntax/Bison.json +59 -0
  148. data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
  149. data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
  150. data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
  151. data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
  152. data/config/syntax/C++.json +3 -3
  153. data/config/syntax/C.json +13 -13
  154. data/config/syntax/CMake Listfile.json +171 -0
  155. data/config/syntax/CSS.json +6 -6
  156. data/config/syntax/CSV.json +108 -0
  157. data/config/syntax/ColdFusion.json +204 -0
  158. data/config/syntax/D.json +560 -0
  159. data/config/syntax/Diff.json +1 -1
  160. data/config/syntax/DokuWiki.json +412 -0
  161. data/config/syntax/Doxygen.json +80 -0
  162. data/config/syntax/Dylan.json +4 -4
  163. data/config/syntax/Erlang.json +5 -5
  164. data/config/syntax/F-Script.json +1 -1
  165. data/config/syntax/FXScript.json +5 -5
  166. data/config/syntax/Fortran - Modern.json +221 -0
  167. data/config/syntax/Fortran - Punchcard.json +468 -0
  168. data/config/syntax/GTD.json +39 -0
  169. data/config/syntax/GTDalt.json +233 -0
  170. data/config/syntax/Gettext.json +118 -0
  171. data/config/syntax/Go.json +555 -0
  172. data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
  173. data/config/syntax/Greasemonkey.json +56 -0
  174. data/config/syntax/Gri.json +4 -4
  175. data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
  176. data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
  177. data/config/syntax/HTML (Active4D).json +540 -0
  178. data/config/syntax/HTML (Erlang).json +31 -0
  179. data/config/syntax/HTML (Tcl).json +1 -1
  180. data/config/syntax/HTML.json +20 -20
  181. data/config/syntax/Haskell.json +3 -3
  182. data/config/syntax/Installer Distribution Script.json +135 -0
  183. data/config/syntax/Io.json +6 -6
  184. data/config/syntax/JSON.json +151 -0
  185. data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
  186. data/config/syntax/Java Server Page (JSP).json +163 -0
  187. data/config/syntax/Java.json +7 -7
  188. data/config/syntax/JavaDoc.json +435 -0
  189. data/config/syntax/JavaScript.json +8 -8
  190. data/config/syntax/LaTeX Log.json +3 -3
  191. data/config/syntax/LaTeX Memoir.json +101 -0
  192. data/config/syntax/LaTeX.json +2 -2
  193. data/config/syntax/Lex-Flex.json +396 -0
  194. data/config/syntax/LilyPond.json +608 -0
  195. data/config/syntax/Logo.json +48 -0
  196. data/config/syntax/Logtalk.json +6 -6
  197. data/config/syntax/Lua.json +1 -1
  198. data/config/syntax/{M.json → MATLAB.json} +3 -3
  199. data/config/syntax/MEL.json +7 -7
  200. data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
  201. data/config/syntax/MacPorts Portfile.json +298 -0
  202. data/config/syntax/Mail.json +1 -1
  203. data/config/syntax/Markdown.json +6 -6
  204. data/config/syntax/Maven POM.json +774 -0
  205. data/config/syntax/Mediawiki.json +736 -0
  206. data/config/syntax/MoinMoin.json +335 -0
  207. data/config/syntax/MultiMarkdown.json +41 -0
  208. data/config/syntax/Nemerle.json +128 -0
  209. data/config/syntax/OCaml.json +4 -4
  210. data/config/syntax/OCamllex.json +307 -0
  211. data/config/syntax/OCamlyacc.json +346 -0
  212. data/config/syntax/Objective-C++.json +2 -2
  213. data/config/syntax/Objective-C.json +979 -0
  214. data/config/syntax/Octave.json +417 -0
  215. data/config/syntax/PHP.json +32 -32
  216. data/config/syntax/Pascal.json +1 -1
  217. data/config/syntax/Perl.json +8 -8
  218. data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
  219. data/config/syntax/PmWiki.json +241 -0
  220. data/config/syntax/Postscript.json +206 -0
  221. data/config/syntax/Processing.json +8 -8
  222. data/config/syntax/Prolog.json +70 -0
  223. data/config/syntax/Python.json +1934 -0
  224. data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
  225. data/config/syntax/R.json +2 -2
  226. data/config/syntax/Ragel.json +362 -0
  227. data/config/syntax/Rd (R Documentation).json +119 -0
  228. data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
  229. data/config/syntax/Regular Expressions (Python).json +188 -0
  230. data/config/syntax/Release Notes.json +78 -0
  231. data/config/syntax/Remind.json +461 -0
  232. data/config/syntax/Rez.json +5 -5
  233. data/config/syntax/Ruby Sass.json +497 -0
  234. data/config/syntax/Ruby.json +13 -13
  235. data/config/syntax/S5 Slide Show.json +85 -0
  236. data/config/syntax/SQL.json +11 -11
  237. data/config/syntax/SSH Config.json +55 -0
  238. data/config/syntax/SWIG.json +2 -2
  239. data/config/syntax/SWeave.json +139 -0
  240. data/config/syntax/Scheme.json +8 -8
  241. data/config/syntax/Scilab.json +69 -0
  242. data/config/syntax/Setext.json +247 -0
  243. data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
  244. data/config/syntax/Slate.json +5 -5
  245. data/config/syntax/Strings File.json +53 -0
  246. data/config/syntax/TSV.json +83 -0
  247. data/config/syntax/Tcl.json +1 -1
  248. data/config/syntax/TeX Math.json +2 -2
  249. data/config/syntax/TeX.json +2 -2
  250. data/config/syntax/Textile.json +9 -9
  251. data/config/syntax/Thrift.json +641 -0
  252. data/config/syntax/Twiki.json +1 -1
  253. data/config/syntax/Txt2tags.json +154 -0
  254. data/config/syntax/XML strict.json +4 -4
  255. data/config/syntax/XML.json +6 -6
  256. data/config/syntax/XSL.json +2 -2
  257. data/config/syntax/camlp4.json +63 -0
  258. data/config/syntax/mod_perl.json +72 -0
  259. data/config/syntax/reStructuredText.json +1 -1
  260. data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
  261. data/config/tutorial +23 -19
  262. data/config/welcome +3 -3
  263. data/lib/ver.rb +273 -62
  264. data/lib/ver/entry.rb +142 -26
  265. data/lib/ver/font.rb +51 -0
  266. data/lib/ver/help.rb +16 -0
  267. data/lib/ver/help/describe_key.rb +82 -0
  268. data/lib/ver/help/help_for_help.rb +39 -0
  269. data/lib/ver/hover_completion.rb +129 -0
  270. data/lib/ver/keymap.rb +95 -24
  271. data/lib/ver/layout.rb +107 -43
  272. data/lib/ver/methods.rb +24 -8
  273. data/lib/ver/methods/clipboard.rb +91 -0
  274. data/lib/ver/methods/completion.rb +146 -71
  275. data/lib/ver/methods/control.rb +203 -222
  276. data/lib/ver/methods/ctags.rb +55 -0
  277. data/lib/ver/methods/delete.rb +30 -0
  278. data/lib/ver/methods/help.rb +7 -0
  279. data/lib/ver/methods/insert.rb +233 -1
  280. data/lib/ver/methods/move.rb +181 -32
  281. data/lib/ver/methods/open.rb +208 -0
  282. data/lib/ver/methods/preview.rb +14 -0
  283. data/lib/ver/methods/save.rb +111 -0
  284. data/lib/ver/methods/search.rb +57 -7
  285. data/lib/ver/methods/select.rb +97 -17
  286. data/lib/ver/methods/shortcuts.rb +21 -0
  287. data/lib/ver/methods/views.rb +56 -1
  288. data/lib/ver/mode.rb +60 -14
  289. data/lib/ver/status.rb +97 -19
  290. data/lib/ver/syntax.rb +14 -6
  291. data/lib/ver/syntax/detector.rb +16 -5
  292. data/lib/ver/syntax/processor.rb +9 -3
  293. data/lib/ver/text.rb +258 -199
  294. data/lib/ver/text/index.rb +103 -0
  295. data/lib/ver/theme.rb +27 -16
  296. data/lib/ver/tooltip.rb +59 -0
  297. data/lib/ver/vendor/binary_search.rb +61 -0
  298. data/lib/ver/vendor/levenshtein.rb +57 -0
  299. data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
  300. data/lib/ver/view.rb +65 -41
  301. data/lib/ver/view/console.rb +171 -0
  302. data/lib/ver/view/entry.rb +9 -5
  303. data/lib/ver/view/list.rb +44 -29
  304. data/lib/ver/view/list/ex.rb +71 -0
  305. data/lib/ver/view/list/grep.rb +42 -0
  306. data/lib/ver/view/list/methods.rb +159 -0
  307. data/lib/ver/view/term.rb +249 -0
  308. data/tasks/syntax_list.rake +3 -2
  309. data/ver.gemspec +4 -4
  310. metadata +230 -28
  311. data/config/syntax/Bulletin Board.json +0 -428
  312. data/config/syntax/HTML (Mason).json +0 -207
  313. data/config/syntax/HTML (Rails).json +0 -52
  314. data/config/syntax/Movable Type.json +0 -348
  315. data/config/syntax/Ruby on Rails.json +0 -170
  316. data/config/syntax/SQL (Rails).json +0 -31
  317. data/config/syntax/Smarty.json +0 -110
  318. data/config/syntax/Standard ML.json +0 -322
@@ -0,0 +1,92 @@
1
+ {
2
+ "C293E159-C4ED-4757-AD60-82E068A13962": {
3
+ "name": "Comments",
4
+ "scope": "source.applescript",
5
+ "settings": {
6
+ "shellVariables": [
7
+ {
8
+ "name": "TM_COMMENT_START",
9
+ "value": "-- "
10
+ },
11
+ {
12
+ "name": "TM_COMMENT_START_2",
13
+ "value": "(* "
14
+ },
15
+ {
16
+ "name": "TM_COMMENT_END_2",
17
+ "value": " *)"
18
+ }
19
+ ]
20
+ },
21
+ "uuid": "C293E159-C4ED-4757-AD60-82E068A13962"
22
+ },
23
+ "8F2DBD25-3DED-44CE-A902-05DCBC185A99": {
24
+ "name": "Indent",
25
+ "scope": "source.applescript",
26
+ "settings": {
27
+ "decreaseIndentPattern": "(?x)\n\t\t^\\s* (end|else|on\\ error) \\b .*$\n\t",
28
+ "increaseIndentPattern": "(?x)\n\t\t^\\s*\n\t\t(\n\t\t tell \\s+ (?! .* \\b(to)\\b) .*\n\t\t|tell\\b.*?\\bto\\ tell \\s+ (?! .* \\b(to)\\b) .*\n\t\t|using\\ terms\\ from\\b.*\n\t\t|if\\b .* \\bthen\\b\n\t\t|else\\b .*\n\t\t|repeat\\b .*\n\t\t|( on | to ) \\b .*\n\t\t|try\n\t\t|with \\s+ timeout\\b .*\n\t\t|ignoring\\b .*\n\t\t)\\s*(--.*?)?$\n\t",
29
+ "indentNextLinePattern": "\u00ac$"
30
+ },
31
+ "uuid": "8F2DBD25-3DED-44CE-A902-05DCBC185A99"
32
+ },
33
+ "F4324AFF-97E6-4D2D-B425-B24E99383AA3": {
34
+ "name": "Completion: Application Name",
35
+ "scope": "string.quoted.double.application-name.applescript",
36
+ "settings": {
37
+ "completionCommand": "ps -xco command|grep \"^$TM_CURRENT_WORD\"|sort|uniq"
38
+ },
39
+ "uuid": "F4324AFF-97E6-4D2D-B425-B24E99383AA3"
40
+ },
41
+ "1E1529C4-A9D6-43AC-AB48-975F9BFCD7B7": {
42
+ "name": "Smart Typing Pairs / Highlight Pairs",
43
+ "scope": "source.applescript",
44
+ "settings": {
45
+ "highlightPairs": [
46
+ [
47
+ "(",
48
+ ")"
49
+ ],
50
+ [
51
+ "\"",
52
+ "\""
53
+ ],
54
+ [
55
+ "{",
56
+ "}"
57
+ ],
58
+ [
59
+ "[",
60
+ "]"
61
+ ],
62
+ [
63
+ "\u201c",
64
+ "\u201d"
65
+ ],
66
+ [
67
+ "\u00ab",
68
+ "\u00bb"
69
+ ]
70
+ ],
71
+ "smartTypingPairs": [
72
+ [
73
+ "\"",
74
+ "\""
75
+ ],
76
+ [
77
+ "(",
78
+ ")"
79
+ ],
80
+ [
81
+ "{",
82
+ "}"
83
+ ],
84
+ [
85
+ "\u00ab",
86
+ "\u00bb"
87
+ ]
88
+ ]
89
+ },
90
+ "uuid": "1E1529C4-A9D6-43AC-AB48-975F9BFCD7B7"
91
+ }
92
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+
3
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "DC32505E-226B-409A-B3C3-8FC88BF4A131": {
3
+ "name": "Spell Checking: Disable for Include Strings",
4
+ "scope": "meta.preprocessor.c.include string.quoted",
5
+ "settings": {
6
+ "spellChecking": 0
7
+ },
8
+ "uuid": "DC32505E-226B-409A-B3C3-8FC88BF4A131"
9
+ },
10
+ "66EE7D45-6AA0-4AB9-9699-A3DF4E2B9AE7": {
11
+ "name": "Header Completion (User)",
12
+ "scope": "meta.preprocessor.c.include string.quoted.double",
13
+ "settings": {
14
+ "completionCommand": "find \"$TM_DIRECTORY\" -name \"$TM_CURRENT_WORD*.h\" -maxdepth 2 -exec basename \"{}\" \\;|sort",
15
+ "disableDefaultCompletion": 1
16
+ },
17
+ "uuid": "66EE7D45-6AA0-4AB9-9699-A3DF4E2B9AE7"
18
+ },
19
+ "1EACF554-A30C-44B0-B97A-11E3FA995045": {
20
+ "name": "Typing Pairs: Include Statements",
21
+ "scope": "meta.preprocessor.c.include",
22
+ "settings": {
23
+ "highlightPairs": [
24
+ [
25
+ "\"",
26
+ "\""
27
+ ],
28
+ [
29
+ "<",
30
+ ">"
31
+ ]
32
+ ],
33
+ "smartTypingPairs": [
34
+ [
35
+ "\"",
36
+ "\""
37
+ ],
38
+ [
39
+ "<",
40
+ ">"
41
+ ]
42
+ ]
43
+ },
44
+ "uuid": "1EACF554-A30C-44B0-B97A-11E3FA995045"
45
+ },
46
+ "02EB44C6-9203-4F4C-BFCB-7E3360B12812": {
47
+ "name": "Indentation Rules",
48
+ "scope": "source.c, source.c++, source.objc, source.objc++",
49
+ "settings": {
50
+ "decreaseIndentPattern": "(?x)\n\t ^ (.*\\*/)? \\s* \\} ( [^}{\"']* \\{ | \\s* while \\s* \\( .* )? [;\\s]* (//.*|/\\*.*\\*/\\s*)? $\n\t| ^ \\s* (public|private|protected): \\s* $\n\t| ^ \\s* @(public|private|protected) \\s* $\n\t",
51
+ "increaseIndentPattern": "(?x)\n\t ^ .* \\{ [^}\"']* $\n\t| ^ \\s* (public|private|protected): \\s* $\n\t| ^ \\s* @(public|private|protected) \\s* $\n\t",
52
+ "indentNextLinePattern": "(?x)^\n\t (?! .* [;:{}] # do not indent when line ends with ;, :, {, or }\n\t \\s* (//|/[*] .* [*]/ \\s* $) # \u2026account for potential trailing comment\n\t | @(public|private|protected) # do not indent after obj-c data access keywords\n\t )\n\t .* [^\\s;:{}] \\s* $ # indent next if this one isn\u2019t\n\t # terminated with ;, :, {, or }\n\t",
53
+ "unIndentedLinePattern": "^\\s*((/\\*|\\*/|//|#|template\\b.*?>(?!\\(.*\\))|@protocol|@optional|@interface(?!.*\\{)|@implementation|@end).*)?$"
54
+ },
55
+ "uuid": "02EB44C6-9203-4F4C-BFCB-7E3360B12812"
56
+ },
57
+ "47DD44E6-B4F5-4C2E-BC62-C6ACEBC02A0D": {
58
+ "name": "Typing Pairs: Template/Cast",
59
+ "scope": "storage.type.c++.template, keyword.operator.c++.cast",
60
+ "settings": {
61
+ "highlightPairs": [
62
+ [
63
+ "<",
64
+ ">"
65
+ ]
66
+ ],
67
+ "smartTypingPairs": [
68
+ [
69
+ "<",
70
+ ">"
71
+ ]
72
+ ]
73
+ },
74
+ "uuid": "47DD44E6-B4F5-4C2E-BC62-C6ACEBC02A0D"
75
+ },
76
+ "38DBCCE5-2005-410C-B7D7-013097751AC8": {
77
+ "name": "Comments",
78
+ "scope": "source.c, source.c++, source.objc, source.objc++",
79
+ "settings": {
80
+ "shellVariables": [
81
+ {
82
+ "name": "TM_COMMENT_START",
83
+ "value": "// "
84
+ },
85
+ {
86
+ "name": "TM_COMMENT_START_2",
87
+ "value": "/*"
88
+ },
89
+ {
90
+ "name": "TM_COMMENT_END_2",
91
+ "value": "*/"
92
+ },
93
+ {
94
+ "name": "TM_COMMENT_DISABLE_INDENT_2",
95
+ "value": "yes"
96
+ }
97
+ ]
98
+ },
99
+ "uuid": "38DBCCE5-2005-410C-B7D7-013097751AC8"
100
+ },
101
+ "9136716A-CE06-4801-ABC9-3D64300869F8": {
102
+ "name": "Header Completion (System)",
103
+ "scope": "meta.preprocessor.c.include string.quoted.other.lt-gt.include",
104
+ "settings": {
105
+ "completionCommand": "#!/usr/bin/env ruby -wKU\n\nUSR_HEAD = Regexp.escape \"#include \\\"...\\\" search starts here:\\n\"\nSYS_HEAD = Regexp.escape \"#include <...> search starts here:\\n\"\nFOOTER = Regexp.escape \"End of search list.\"\n\nCOMPILER = {\n \"source.c\" => \"gcc 2>&1 >/dev/null -E -v -x c /dev/null\",\n \"source.c++\" => \"g++ 2>&1 >/dev/null -E -v -x c++ /dev/null\",\n \"source.objc\" => \"gcc 2>&1 >/dev/null -E -v -x objective-c /dev/null\",\n \"source.objc++\" => \"g++ 2>&1 >/dev/null -E -v -x objective-c++ /dev/null\",\n}\n\ndef compiler_search_path(domain = :system)\n scope = \"source.c\"\n scope = $& if ENV[\"TM_SCOPE\"] =~ /source.(obj)?c(\\+\\+)?/\n\n res = IO.popen(COMPILER[scope]) { |io| io.read }\n if res =~ /#{USR_HEAD}(.*)#{SYS_HEAD}(.*)#{FOOTER}/m\n\tcase domain\n\t when :system then $2\n\t when :user then $1 + \" .\\n\"\n\t when :all then $1 + \" .\\n\" + $2\n\tend.scan(/ (\\S*)(?: \\(framework directory\\)$)?/).flatten\n else\n\tabort \"Failed to parse compiler output.\\nCommand: \" + COMPILER[scope]\n end\nend\n\ndef user_search_path(domain = :system)\n usr = ENV[\"TM_USR_HEADER_PATH\"].to_s\n sys = ENV[\"TM_SYS_HEADER_PATH\"].to_s\n\n res = case domain\n\twhen :system then sys\n\twhen :user then usr\n\twhen :all then \"#{usr}:#{sys}\"\n end.split(\":\")\n res.delete(\"\")\n\n res.empty? ? nil : res\nend\n\ndef expand_dirs(entries)\n\tentries.map do |entry|\n\t\tif entry =~ /(.*)\\.framework$/\n\t\t\tif File.exists? \"#$1.framework/Headers/#$1.h\"\n\t\t\t\t\"#$1/#$1.h\"\n\t\t\telsif File.exists? \"#$1.framework/Headers\"\n\t\t\t\tDir[\"#$1.framework/Headers/[A-Za-z]*.h\"].sort.map do |e|\n\t\t\t\t\te.sub(/\\.framework\\/Headers\\//, \"/\")\n\t\t\t\tend\n\t\t\telse\n\t\t\t\t[ ]\n\t\t\tend\n\t\telsif File.directory? entry\n\t\t\tDir[entry + \"/[A-Za-z]*.h\"].sort\n\t\telse\n\t\t\tentry\n\t\tend\n\tend\nend\n\npartial_word = ENV[\"TM_CURRENT_WORD\"]\n\ndirs = user_search_path(:system) || compiler_search_path(:system)\nres = [ ] \ndirs.each do |dir|\n\tDir.chdir(dir) { res << expand_dirs(Dir[partial_word + \"*\"].sort) }\nend\nputs res.flatten.join(\"\\n\")",
106
+ "disableDefaultCompletion": 1
107
+ },
108
+ "uuid": "9136716A-CE06-4801-ABC9-3D64300869F8"
109
+ },
110
+ "B2B97E23-E686-4410-991D-A92AF3A9FC95": {
111
+ "bundleUUID": "4675A940-6227-11D9-BFB1-000D93589AF6",
112
+ "name": "Symbol List: Indent Class Methods",
113
+ "scope": "meta.class-struct-block.c++ entity.name.function",
114
+ "settings": {
115
+ "symbolTransformation": "\n s/^\\s*/\u2003/; # pad"
116
+ },
117
+ "uuid": "B2B97E23-E686-4410-991D-A92AF3A9FC95"
118
+ },
119
+ "A8E4E48A-81F3-4DB7-A7A2-88662C06E011": {
120
+ "name": "Symbol List: Prefix Banner Items",
121
+ "scope": "meta.toc-list.banner",
122
+ "settings": {
123
+ "symbolTransformation": "\n s/^\\s+/# /;\n s/^=+$/-/;\n "
124
+ },
125
+ "uuid": "A8E4E48A-81F3-4DB7-A7A2-88662C06E011"
126
+ }
127
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "FCA85521-74FC-4A71-9ADE-DC055E63CAEE": {
3
+ "name": "Comments",
4
+ "scope": "source.cmake",
5
+ "settings": {
6
+ "shellVariables": [
7
+ {
8
+ "name": "TM_COMMENT_START",
9
+ "value": "# "
10
+ }
11
+ ]
12
+ },
13
+ "uuid": "FCA85521-74FC-4A71-9ADE-DC055E63CAEE"
14
+ },
15
+ "E60C579C-BEE8-4C0F-8FA3-0F9E1A851154": {
16
+ "name": "Completions",
17
+ "scope": "source.cmake",
18
+ "settings": {
19
+ "completionCommand": "\n\t# Commands are by convention written in all uppercase, but the command list is given in lowercase,\n\t# so we print both to enable people to use either\n\t# The first line is always the CMake executable version, so it gets stripped off\n\tcmake --help-command-list >( tail -n+2 | tee >(tr \"[a-z]\" \"[A-Z]\") | grep \"^$TM_CURRENT_WORD\" )\n\t"
20
+ },
21
+ "uuid": "E60C579C-BEE8-4C0F-8FA3-0F9E1A851154"
22
+ },
23
+ "D58FED93-633B-4C26-89C1-53198843416A": {
24
+ "name": "Indentation Rules",
25
+ "scope": "source.cmake",
26
+ "settings": {
27
+ "decreaseIndentPattern": "(?xi)\n\t \\b end(function|macro|if|foreach|while) \\b\n\t | \\b else(if)? \\b\n\t | ^ [^(]* \\) \\s* $\n\t",
28
+ "increaseIndentPattern": "(?xi)\n\t \\b (function|macro|if|foreach|while) \\b\n\t | \\b else(if)? \\b\n\t | \\( [^)]* $\n\t"
29
+ },
30
+ "uuid": "D58FED93-633B-4C26-89C1-53198843416A"
31
+ },
32
+ "3C9C38E0-2EC5-4963-9FC1-BD2D04EC62F7": {
33
+ "name": "Symbol List",
34
+ "scope": "meta.function-call.function.cmake",
35
+ "settings": {
36
+ "showInSymbolList": "1",
37
+ "symbolTransformation": "s/^(\\w+).*$/$1/"
38
+ },
39
+ "uuid": "3C9C38E0-2EC5-4963-9FC1-BD2D04EC62F7"
40
+ }
41
+ }
@@ -0,0 +1,461 @@
1
+ {
2
+ "375CF370-8A7B-450A-895C-FD18B47957E2": {
3
+ "name": "Comments",
4
+ "scope": "source.css",
5
+ "settings": {
6
+ "shellVariables": [
7
+ {
8
+ "name": "TM_COMMENT_START",
9
+ "value": "/*"
10
+ },
11
+ {
12
+ "name": "TM_COMMENT_END",
13
+ "value": "*/"
14
+ },
15
+ {
16
+ "name": "TM_COMMENT_DISABLE_INDENT",
17
+ "value": "yes"
18
+ }
19
+ ]
20
+ },
21
+ "uuid": "375CF370-8A7B-450A-895C-FD18B47957E2"
22
+ },
23
+ "92B0C9FE-CC81-498A-B93C-376A9C47CF2D": {
24
+ "name": "Completions",
25
+ "scope": "source.css -meta.property-list",
26
+ "settings": {
27
+ "completions": [
28
+ "*",
29
+ "#",
30
+ ".",
31
+ "a",
32
+ "abbr",
33
+ "acronym",
34
+ "address",
35
+ "area",
36
+ "b",
37
+ "base",
38
+ "big",
39
+ "blockquote",
40
+ "body",
41
+ "br",
42
+ "button",
43
+ "caption",
44
+ "cite",
45
+ "code",
46
+ "col",
47
+ "colgroup",
48
+ "dd",
49
+ "del",
50
+ "dfn",
51
+ "div",
52
+ "dl",
53
+ "dt",
54
+ "em",
55
+ "fieldset",
56
+ "form",
57
+ "frame",
58
+ "frameset",
59
+ "h1",
60
+ "h2",
61
+ "h3",
62
+ "h4",
63
+ "h5",
64
+ "h6",
65
+ "head",
66
+ "hr",
67
+ "html",
68
+ "i",
69
+ "iframe",
70
+ "img",
71
+ "input",
72
+ "ins",
73
+ "kbd",
74
+ "label",
75
+ "legend",
76
+ "li",
77
+ "link",
78
+ "map",
79
+ "meta",
80
+ "noframes",
81
+ "noscript",
82
+ "object",
83
+ "ol",
84
+ "optgroup",
85
+ "option",
86
+ "p",
87
+ "param",
88
+ "pre",
89
+ "q",
90
+ "samp",
91
+ "script",
92
+ "select",
93
+ "small",
94
+ "span",
95
+ "strike",
96
+ "strong",
97
+ "style",
98
+ "sub",
99
+ "sup",
100
+ "table",
101
+ "tbody",
102
+ "td",
103
+ "textarea",
104
+ "tfoot",
105
+ "th",
106
+ "thead",
107
+ "title",
108
+ "tr",
109
+ "tt",
110
+ "ul",
111
+ "var"
112
+ ]
113
+ },
114
+ "uuid": "92B0C9FE-CC81-498A-B93C-376A9C47CF2D"
115
+ },
116
+ "623154CA-0EDF-4365-9441-80D396C11979": {
117
+ "name": "Miscellaneous",
118
+ "scope": "source.css",
119
+ "settings": {
120
+ "smartTypingPairs": [
121
+ [
122
+ "\"",
123
+ "\""
124
+ ],
125
+ [
126
+ "(",
127
+ ")"
128
+ ],
129
+ [
130
+ "{",
131
+ "}"
132
+ ],
133
+ [
134
+ "[",
135
+ "]"
136
+ ],
137
+ [
138
+ "\u201c",
139
+ "\u201d"
140
+ ],
141
+ [
142
+ "'",
143
+ "'"
144
+ ],
145
+ [
146
+ "`",
147
+ "`"
148
+ ]
149
+ ]
150
+ },
151
+ "uuid": "623154CA-0EDF-4365-9441-80D396C11979"
152
+ },
153
+ "BCAF7514-033E-45D7-9E46-07FACF84DAAD": {
154
+ "name": "Property Completions",
155
+ "scope": "source.css meta.property-list -meta.property-value",
156
+ "settings": {
157
+ "completions": [
158
+ "-moz-border-radius",
159
+ "azimuth",
160
+ "background",
161
+ "background-attachment",
162
+ "background-color",
163
+ "background-image",
164
+ "background-position",
165
+ "background-repeat",
166
+ "border",
167
+ "border-bottom",
168
+ "border-bottom-color",
169
+ "border-bottom-style",
170
+ "border-bottom-width",
171
+ "border-collapse",
172
+ "border-color",
173
+ "border-left",
174
+ "border-left-color",
175
+ "border-left-style",
176
+ "border-left-width",
177
+ "border-right",
178
+ "border-right-color",
179
+ "border-right-style",
180
+ "border-right-width",
181
+ "border-spacing",
182
+ "border-style",
183
+ "border-top",
184
+ "border-top-color",
185
+ "border-top-style",
186
+ "border-top-width",
187
+ "border-width",
188
+ "bottom",
189
+ "caption-side",
190
+ "clear",
191
+ "clip",
192
+ "color",
193
+ "content",
194
+ "counter-increment",
195
+ "counter-reset",
196
+ "cue",
197
+ "cue-after",
198
+ "cue-before",
199
+ "cursor",
200
+ "direction",
201
+ "display",
202
+ "elevation",
203
+ "empty-cells",
204
+ "float",
205
+ "font",
206
+ "font-family",
207
+ "font-size",
208
+ "font-size-adjust",
209
+ "font-stretch",
210
+ "font-style",
211
+ "font-variant",
212
+ "font-weight",
213
+ "height",
214
+ "left",
215
+ "letter",
216
+ "letter-spacing",
217
+ "line-height",
218
+ "list",
219
+ "list-style",
220
+ "list-style-image",
221
+ "list-style-position",
222
+ "list-style-type",
223
+ "margin",
224
+ "margin-bottom",
225
+ "margin-left",
226
+ "margin-right",
227
+ "margin-top",
228
+ "marker",
229
+ "marker-offset",
230
+ "marks",
231
+ "max-height",
232
+ "max-width",
233
+ "min-height",
234
+ "min-width",
235
+ "opacity",
236
+ "orphans",
237
+ "outline",
238
+ "outline-color",
239
+ "outline-style",
240
+ "outline-width",
241
+ "overflow",
242
+ "overflow(-[xy])?",
243
+ "padding",
244
+ "padding-bottom",
245
+ "padding-left",
246
+ "padding-right",
247
+ "padding-top",
248
+ "page",
249
+ "page-break-after",
250
+ "page-break-before",
251
+ "page-break-inside",
252
+ "pause",
253
+ "pause-after",
254
+ "pause-before",
255
+ "pitch",
256
+ "pitch-range",
257
+ "play-during",
258
+ "position",
259
+ "quotes",
260
+ "richness",
261
+ "right",
262
+ "scrollbar",
263
+ "size",
264
+ "speak",
265
+ "speak-header",
266
+ "speak-numeral",
267
+ "speak-punctuation",
268
+ "speech-rate",
269
+ "stress",
270
+ "table-layout",
271
+ "text",
272
+ "text-align",
273
+ "text-decoration",
274
+ "text-indent",
275
+ "text-shadow",
276
+ "text-transform",
277
+ "top",
278
+ "unicode-bidi",
279
+ "vertical",
280
+ "vertical-align",
281
+ "visibility",
282
+ "voice-family",
283
+ "volume",
284
+ "white",
285
+ "white-space",
286
+ "widows",
287
+ "width",
288
+ "word",
289
+ "word-spacing",
290
+ "z-index"
291
+ ]
292
+ },
293
+ "uuid": "BCAF7514-033E-45D7-9E46-07FACF84DAAD"
294
+ },
295
+ "1E4F54FD-1940-42E0-9D0A-0EC11D81E446": {
296
+ "name": "Property Value Completions",
297
+ "scope": "source.css meta.property-value",
298
+ "settings": {
299
+ "completions": [
300
+ "absolute",
301
+ "all-scroll",
302
+ "always",
303
+ "auto",
304
+ "baseline",
305
+ "below",
306
+ "bidi-override",
307
+ "block",
308
+ "bold",
309
+ "bolder",
310
+ "both",
311
+ "bottom",
312
+ "break-all",
313
+ "break-word",
314
+ "capitalize",
315
+ "center",
316
+ "char",
317
+ "circle",
318
+ "col-resize",
319
+ "collapse",
320
+ "crosshair",
321
+ "dashed",
322
+ "decimal",
323
+ "default",
324
+ "disabled",
325
+ "disc",
326
+ "distribute",
327
+ "distribute-all-lines",
328
+ "distribute-letter",
329
+ "distribute-space",
330
+ "dotted",
331
+ "double",
332
+ "e-resize",
333
+ "ellipsis",
334
+ "fixed",
335
+ "groove",
336
+ "hand",
337
+ "help",
338
+ "hidden",
339
+ "horizontal",
340
+ "ideograph-alpha",
341
+ "ideograph-numeric",
342
+ "ideograph-parenthesis",
343
+ "ideograph-space",
344
+ "inactive",
345
+ "inherit",
346
+ "inline",
347
+ "inline-block",
348
+ "inset",
349
+ "inside",
350
+ "inter-ideograph",
351
+ "inter-word",
352
+ "italic",
353
+ "justify",
354
+ "keep-all",
355
+ "left",
356
+ "lighter",
357
+ "line",
358
+ "line-edge",
359
+ "line-through",
360
+ "list-item",
361
+ "loose",
362
+ "lower-alpha",
363
+ "lower-roman",
364
+ "lowercase",
365
+ "lr-tb",
366
+ "ltr",
367
+ "medium",
368
+ "middle",
369
+ "move",
370
+ "n-resize",
371
+ "ne-resize",
372
+ "newspaper",
373
+ "no-drop",
374
+ "no-repeat",
375
+ "none",
376
+ "normal",
377
+ "not-allowed",
378
+ "nowrap",
379
+ "nw-resize",
380
+ "oblique",
381
+ "outset",
382
+ "outside",
383
+ "overline",
384
+ "pointer",
385
+ "progress",
386
+ "relative",
387
+ "repeat",
388
+ "repeat-x",
389
+ "repeat-y",
390
+ "ridge",
391
+ "right",
392
+ "row-resize",
393
+ "rtl",
394
+ "s-resize",
395
+ "scroll",
396
+ "se-resize",
397
+ "separate",
398
+ "small-caps",
399
+ "solid",
400
+ "square",
401
+ "static",
402
+ "strict",
403
+ "super",
404
+ "sw-resize",
405
+ "table-footer-group",
406
+ "table-header-group",
407
+ "tb-rl",
408
+ "text",
409
+ "text-bottom",
410
+ "text-top",
411
+ "thick",
412
+ "thin",
413
+ "top",
414
+ "transparent",
415
+ "underline",
416
+ "upper-alpha",
417
+ "upper-roman",
418
+ "uppercase",
419
+ "url(\"\")",
420
+ "vertical-ideographic",
421
+ "vertical-text",
422
+ "visible",
423
+ "w-resize",
424
+ "wait",
425
+ "whitespace"
426
+ ]
427
+ },
428
+ "uuid": "1E4F54FD-1940-42E0-9D0A-0EC11D81E446"
429
+ },
430
+ "45707407-3307-4B4D-AE9B-78BDCFB6F920": {
431
+ "name": "PropertyName",
432
+ "scope": "meta.property-list.css -meta.property-value",
433
+ "settings": {
434
+ "smartTypingPairs": [
435
+ [
436
+ ":",
437
+ ";"
438
+ ]
439
+ ]
440
+ },
441
+ "uuid": "45707407-3307-4B4D-AE9B-78BDCFB6F920"
442
+ },
443
+ "096894D8-6A5A-4F1D-B68C-782F0A850E52": {
444
+ "name": "Symbol List: Group",
445
+ "scope": "source.css comment.block.css -source.css.embedded",
446
+ "settings": {
447
+ "showInSymbolList": 1,
448
+ "symbolTransformation": "s/\\/\\*\\*\\s*(.*?)\\s*\\*\\//** $1 **/; s/\\/\\*.*?\\*\\*\\//./; s/\\/\\*[^\\*].*?[^\\*]\\*\\///"
449
+ },
450
+ "uuid": "096894D8-6A5A-4F1D-B68C-782F0A850E52"
451
+ },
452
+ "17B2DD5B-D2EA-4DC5-9C7D-B09B505156C5": {
453
+ "name": "Symbol List: Selector",
454
+ "scope": "source.css meta.selector",
455
+ "settings": {
456
+ "showInSymbolList": 1,
457
+ "symbolTransformation": "s/^\\s*/CSS: /; s/\\s+/ /g"
458
+ },
459
+ "uuid": "17B2DD5B-D2EA-4DC5-9C7D-B09B505156C5"
460
+ }
461
+ }