[TxMt] Re: Difference with indentation rules between TM1.5 and TM2.0

Simon Lucas simon at spiral.co.uk
Sat May 16 11:00:28 UTC 2020


Allan, thank-you for looking at this

link to my latest .as file

https://we.tl/t-PDGIGWcQN6 <https://we.tl/t-PDGIGWcQN6>

I tried to add the .tm_properties file to the ~ folder, but the indents are still operating.

> On 16 May 2020, at 03:18, Allan Odgaard <mailinglist at textmate.org> wrote:
> 
> On 12 May 2020, at 21:37, Simon Lucas wrote:
> 
> Why is it different, or rather how can I fix it, please?
> 
> The change is that TextMate 1.x only used the rules after you press return (to estimate indent of the new line), where 2.x also does it when you make an edit to a line, that makes the rules think it should now be indented differently.
> 
> Can you provide a sample AS3 file in your style? Then we should be able to update the rules to support this.
> 
> As a temporary workaround, in ~/.tm_properties you can add this section:
> 
> [ source.actionscript ]
> disableIndentCorrections = true
> This will disable indent corrections for AS3 files.
> 
> You can also set it to emptyLines instead of true. Then it is only when you type on an empty line, that it disables the corrections.
> 
> 
> _______________________________________________
> TextMate mailing list
> TextMate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20200516/105849ce/attachment-0001.html>


More information about the TextMate mailing list