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

extend attributesonselection method #2940

Merged
merged 2 commits into from
Apr 5, 2016

Conversation

JohnMcLear
Copy link
Member

Ready to test and hopefully merge

@JohnMcLear JohnMcLear merged commit 282b1cd into develop Apr 5, 2016
if(isNotSelection){
if(prevChar){
// If it's not the start of the line
if(rep.selStart[1] !== 0){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if line has line attribute (which makes it start with "*")? Is that ok to look the attributes there, or should you look the attributes at 2nd char on line text?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, would be interesting to try, in through it should try to put rep.selStart[1] as -1 in that instance which is not ideal :P

@muxator muxator deleted the extend-getAttributesOnSelection branch November 30, 2019 23:22
@muxator muxator restored the extend-getAttributesOnSelection branch December 7, 2019 18:05
@rhansen rhansen deleted the extend-getAttributesOnSelection branch December 28, 2020 02:23
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

Successfully merging this pull request may close these issues.

2 participants