Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ko/editor.setSelection works incorrectly with tabs #2123
Steps to Reproduce
some space after
Komodo Edit or IDE? IDE/Edit
Looks like tabs are interpreted as single characters. I don't understand your test data though @Defman21, in your examples they are all on line 3, not 2, and there are def no 50 chars to get a abs pos of 50, unless you tested with
@mitchell-as https://github.com/Komodo/KomodoEdit/blob/master/src/chrome/komodo/content/sdk/editor.js#L976 looks like there should be used
added a commit
Nov 1, 2016
Scintilla (aka, scimoz) uses line numbers starting at
The bug is that tab chars are seen as a single char rather than the number of spaces they take up in the document.
Can you clarify? Are you saying the bug reported here is not reproducible when using Xemmet?
It works if I select using
Xemmet does not override any Komodo functions.