Skip to content

extend attributesonselection method#2940

Merged
JohnMcLear merged 2 commits intodevelopfrom
extend-getAttributesOnSelection
Apr 5, 2016
Merged

extend attributesonselection method#2940
JohnMcLear merged 2 commits intodevelopfrom
extend-getAttributesOnSelection

Conversation

@JohnMcLear
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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