Skip to content

Add indention for wrapped lines #1019

Closed
jviereck opened this Issue Oct 8, 2012 · 11 comments

10 participants

@jviereck
jviereck commented Oct 8, 2012

I have some text that looks like this:

Foo bar
    Foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar foo bar

when line breaking activated, I want the broken line to be indented as well to make it easier to read. Is this possible already with ace?

Would you accept a pull request that adds this feature?

@adamjimenez

wouldn't this mean that if the line is heavily indented then you could get many more wrapped lines?

@jviereck
jviereck commented Oct 8, 2012

wouldn't this mean that if the line is heavily indented then you could get many more wrapped lines?

Yes. Is that an issue? I don't think these some more wrapped lines should be an issue for most cases. Also, it's would be a feature turned off by default, so it's the developers choice to activate it.

@nightwing
Ajax.org B.V. member

it's not possible now, but shouldn't be very hard to add.

heavily indented lines can be a problem, but defining maximum value for wrapIndent to say 1/3 screen width is one way around that

@chanpory
chanpory commented Jun 7, 2013

Any idea on when this can be implemented. Since it wouldn't be hard to add, I would really love to see this feature soon. Would make switching between SublimeText and Ace much smoother.

@billynoah

i would love to see this implemented.

@chanpory

Ping

@dylee
dylee commented Jan 23, 2014

+1

@pricj004
pricj004 commented Jul 2, 2014

+1

@jarodreyes

+1

@kwhinnery

+1

@victorel-petrovich

+100!! when?? At least for markup languages, this would be great, as lists would look more like .. true lists and so on.

@nightwing nightwing closed this Apr 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.