Skip to content

Conversation

macMikey
Copy link
Contributor

@macMikey macMikey commented Mar 1, 2017

Rewritten indent rules address a variety of inconsistencies and other problems. Enjoy!


This change is Reviewable

macMikey and others added 4 commits October 20, 2015 12:07
The indent rules for LCS were causing a variety of bizarre behaviors in various circumstances.  I rewrote them to match them with the ones I wrote for SublimeText.
@macMikey macMikey closed this Mar 1, 2017
@macMikey macMikey deleted the UpdatedIndentRules branch March 1, 2017 16:00
@macMikey macMikey restored the UpdatedIndentRules branch March 13, 2017 20:30
@macMikey macMikey reopened this Mar 13, 2017
@bwmilby
Copy link
Collaborator

bwmilby commented Nov 10, 2019

Here's what these rules do for switch/case:

   switch tTest
   case "abc"
      -- code
      break
   default
      -- default code
   end switch

Better than the replaced rules:

   switch tTest
   case "abc"
      -- code
      break
   default
   -- default code
end switch

Here's what the IDE produces:

   switch tTest
      case "abc"
         -- code
         break
      default
         -- default code
   end switch

@bwmilby bwmilby added this to the v0.7.0 milestone Nov 19, 2019
@bwmilby bwmilby merged commit 02ce62b into livecode:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants