Skip to content

Updating the bililitesRange library and fixing the selection range after rng.select#28

Open
tenbits wants to merge 2 commits into
j-ulrich:masterfrom
tenbits:master
Open

Updating the bililitesRange library and fixing the selection range after rng.select#28
tenbits wants to merge 2 commits into
j-ulrich:masterfrom
tenbits:master

Conversation

@tenbits

@tenbits tenbits commented May 5, 2015

Copy link
Copy Markdown

Hi Jochen,

with the pull request updating here the bililiteRange library, there were some bug fixes and improvements since current version in this repository.
It also fixes the problem with the simplechar method of a keysequence: rng.text method reapplies the text value of the element and thats why the .selectionStart is dropped to the end, though the bililiteRange tracks the bounds internal, the problem occures when triggering afterwards the keyup event, this makes billiteRange to recalculate bounds and then all further characters are appended to the end.

@j-ulrich

Copy link
Copy Markdown
Owner

Thanks for the contribution! I'll try to merge it in the near future.

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