- Subject: Re: [Jed-users-l] BUG - editing javascript hash tables
- From: "Tom Culliton" <culliton@xxxxxx>
- Date: Sat, 6 Nov 2010 09:07:56 -0500 (CDT)
Turn off or adjust the electric colon feature. If memory serves the
C_Colon_Offset variable controls this (many of the other language modes
are based on the C mode).
> Steps to reproduce:
>
> $ touch test.js
> $ jed test.js
>
> Then type:
>
> var options = {[ENTER]
> foo:
>
> As soon as you've typed the ':' after the word "foo" it automatically
> de-indents itself all the way to the left.
>
> I'm using Jed 0.99.19U.
> I find that generally it's hard to edit hash tables as the indentation
> is jumping around a bit.
>
> Cheers, Peter
> --
> Peter Bengtsson,
> work www.fry-it.com
> home www.peterbe.com
> hobby www.issuetrackerproduct.com
> fun crosstips.org
> _______________________________________________
> Jed-users-l mailing list
> Jed-users-l@xxxxxxxx
> http://mailman.jtan.com/mailman/listinfo/jed-users-l
>
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2010 date index]
[2010 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]