-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paragraph Questions. #41
Comments
Yes, basically. More precisely, a paragraph is a sequence of styled texts
You can already do that:
I don't have any concrete plans, but this falls under issue #6. |
Thanks. How about the start and end of a paragraph? or set style for a On Wed, Apr 16, 2014 at 11:36 AM, TomasMikula notifications@github.comwrote:
|
just found a "restyle" ! thanks that shoul ddo it :) On Wed, Apr 16, 2014 at 11:46 AM, Maher Elkhaldi m.s.khaldi@gmail.comwrote:
|
Just note that |
Hmm OK. And to get the index of the paragraph at caret I would do indexOf
|
I got the paragraph with currentParagrapht. |
The reason I need this is that I am applying a size change to a paragraph, but it it has different styled texts. so I only want to update the size. so I am using the styles.map method. for that, I need to set styleSpans to the range, where the paragraph starts and ends. I found a full length method, but trying to figure out a way to get the start location of a paragraph. |
moved this to another issue an enhancement request :) |
Per-paragraph alignment is now supported with the latest SNAPSHOT. |
Hi Tomas,
To confirm, a paragraph is collection of styled texts that is separated from others by a new line before it and after it. right?
Would it be possible to provide a method to get Paragraph at caret?
Probably outside your scope, not sure. but do you plan to provide paragraph alignment options?
Thanks,
Maher
The text was updated successfully, but these errors were encountered: