| 316 | } |
| 317 | |
| 318 | void RunScriptPreWarm() { |
| 319 | static bool hasInit = false; |
| 320 | if (!hasInit) { |
| 321 | RegisterTextDocumentScript(); |
| 322 | GetDocumentsFolderPath(); |
| 323 | GetAEVersion(); |
| 324 | hasInit = true; |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | bool CheckAeVersion() { |
| 329 | int32_t majorVersion = 0; |
no test coverage detected