Skip to content
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

Change styles at the caretposition #32

Closed
Ambior opened this issue Apr 10, 2014 · 2 comments
Closed

Change styles at the caretposition #32

Ambior opened this issue Apr 10, 2014 · 2 comments

Comments

@Ambior
Copy link

Ambior commented Apr 10, 2014

Hi Tomas,

is it possible to change the style at the caretposition without making a selection?

greeting , Roel

@TomasMikula
Copy link
Member

Hi Roel,

you always set style for a range of text. Whether or not that range is selected is not important.

If by "change the style at the caretposition" you mean change the style of the text to the left and right of the caret as far as the style is the same as at the caret position, you might be looking for #26 taken one step further—setting the style instead of getting the style range.

@TomasMikula
Copy link
Member

Closing this, because #26 is now implemented. Let me know if it works for you.

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

No branches or pull requests

2 participants