From 7a209cc77a31b88795b9b1c9d7e5aacfe41cf9e8 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Thu, 28 May 2020 06:12:04 -0500 Subject: [PATCH] Remove indentNextLinePattern According to the language guide* the semicolon at the end of statements is optional, this makes indentNextLinePattern match at unwanted times when leaving out the semicolon. * https://help.adobe.com/en_US/as3/learn/WS5b3ccc516d4fbf351e63e3d118a9b90204-7f9b.html --- Preferences/Indentation Rules.tmPreferences | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Preferences/Indentation Rules.tmPreferences b/Preferences/Indentation Rules.tmPreferences index 5daef8ad..c5bd80c4 100644 --- a/Preferences/Indentation Rules.tmPreferences +++ b/Preferences/Indentation Rules.tmPreferences @@ -1,5 +1,5 @@ - + name @@ -12,8 +12,6 @@ ^(.*\*/)?\s*\}([^}{"']*\{)?[;\s]*(//.*|/\*.*\*/\s*)?$|^\s*(public|final|dynamic|internal):\s*$ increaseIndentPattern ^.*\{[^}"']*$|^\s*(public|final|dynamic|internal):\s*$ - indentNextLinePattern - ^(?!(.*[};:])?\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]\s*$ uuid 2ED58FB2-1E8C-4123-8EE7-217D14F04151