You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Since i'm working with Atom the cursor, sometimes, has a strange position. Mostly after autocompleting a function. I wanted to submit this issue for a long time but I can't reproduce the bug when I want to.
I disabled the autocomplete and autocomplete plus packages for a while and it didn't solved the problem either. I finally got a really bad screen capture .. and i'm still trying to figure out how to reproduce this bug. Take a look at the cursor position when typing.
Have your tried it with both editors? Try it in the "React Editor" that you can enable in the Settings > Use React Editor. Check if the bug also happens there, because that editor will get the default editor as soon as its ready.
I see it sometimes when I autocomplete (in react), in the autocomplete box. Here's me triggering autocomplete and trying different letters. Notice that using d triggers the issue, while r doesn't:
Also, I can reproduce the following behavior reliably:
Just trigger the autocomplete box and start typing -- you'll notice that the cursor starts to move away from the place it should be as you type.
@izuzak What's strange is that the mini editors used in the autocomplete are not using the React implementation. The only thing I can think is that global character width caching in the old editor is masking some other issue with these mini editors.
My intuition is to push forward with replacing the mini-editors with React and just tolerate this a bit longer in the meantime. We could spend a lot of time resolving this in the old editor just to throw it away.
@nathansobo I'm fine with that suggestion. 👍 However, @NickNoordijkreported that this was happening in the normal editor with react turned on as well (not the mini-editor), if I understood him correctly. I haven't been able to reproduce that yet, but would be great to hear from him if he can reproduce this reliably.
This happens to me right after using multiple line select (Ctrl-left mouse click on multiple lines), and then going back to single line the cursor goes is totally in the wrong spot.
I have been experiencing the same bug since two days and after changing my syntax theme, I can't reproduce it anymore. The theme was seti. I tried all installed themes and none of them was able to reproduce that bug except seti.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
philipgiuliani commentedon Jul 1, 2014
Have your tried it with both editors? Try it in the "React Editor" that you can enable in the
Settings > Use React Editor. Check if the bug also happens there, because that editor will get the default editor as soon as its ready.respectTheCode commentedon Jul 1, 2014
I have been seeing the same bug. It seems to happen more often since updating to 0.106.0. I just switched to the "React Editor" and will report back.
NickNoordijk commentedon Jul 2, 2014
I tested without restarting Atom, that didn't work for me!
After restarting and working with it for 2 hours I can't reproduce this bug. (Yet..)
philipgiuliani commentedon Jul 3, 2014
Jeah you have to restart Atom after the Editor change. Already some news? :)
NickNoordijk commentedon Jul 4, 2014
@philipgiuliani Nothing new 👍. No reproducing of this bug in the React Editor!
respectTheCode commentedon Jul 4, 2014
React Editor seems to have solved this for me as well.
philipgiuliani commentedon Jul 7, 2014
@kevinsawicki @nathansobo This issue can be added to the list of react-editor fixes i think.
#2423
NickNoordijk commentedon Jul 7, 2014
I switched theme and ui today (Seti UI/Syntax) and updated to 0.108.0 and i'm experiencing the bug again, with the react editor.
izuzak commentedon Jul 7, 2014
I see it sometimes when I autocomplete (in react), in the autocomplete box. Here's me triggering autocomplete and trying different letters. Notice that using
dtriggers the issue, whilerdoesn't:Also, I can reproduce the following behavior reliably:
Just trigger the autocomplete box and start typing -- you'll notice that the cursor starts to move away from the place it should be as you type.
cc @nathansobo
nathansobo commentedon Jul 7, 2014
@izuzak What's strange is that the mini editors used in the autocomplete are not using the React implementation. The only thing I can think is that global character width caching in the old editor is masking some other issue with these mini editors.
nathansobo commentedon Jul 7, 2014
My intuition is to push forward with replacing the mini-editors with React and just tolerate this a bit longer in the meantime. We could spend a lot of time resolving this in the old editor just to throw it away.
izuzak commentedon Jul 7, 2014
@nathansobo I'm fine with that suggestion. 👍 However, @NickNoordijk reported that this was happening in the normal editor with react turned on as well (not the mini-editor), if I understood him correctly. I haven't been able to reproduce that yet, but would be great to hear from him if he can reproduce this reliably.
NickNoordijk commentedon Jul 8, 2014
@izuzak @nathansobo I will try to reproduce it and report it back asap
14 remaining items
izuzak commentedon Jul 24, 2014
@nathansobo This also reminds me of #1036, which is still open.
nathansobo commentedon Jul 24, 2014
@rasselbock Do you have a custom invisible character? If so, can you show me the contents of your
invisibleskey from settings?rasselbock commentedon Jul 25, 2014
Are either of these helpful? Not 100% clear on what the invisibles key is...
settings
styles.less:
.tree-view {
}
@hints-color: #c5c8c6;
@hints-opacity: 0.15;
.editor {
.invisible-character {
color: @hints-color;
opacity: @hints-opacity;
}
}
.editor .cursor {
}
nathansobo commentedon Jul 25, 2014
Yeah. I was looking for the "Invisibles Tab" setting so thanks. Is this file using hard tabs also?
rasselbock commentedon Jul 25, 2014
Cool, thanks. Yeah, the file I posted a gif of is hard tabbed.
adbakke commentedon Aug 4, 2014
This happens to me right after using multiple line select (Ctrl-left mouse click on multiple lines), and then going back to single line the cursor goes is totally in the wrong spot.
Using Atom 0.120.0 with Windows 7 x64
Fix style rule clashing with autocomplete mini-editor
muhammad-saleh commentedon Jul 8, 2015
Dears, I have the same issue with Atom v1.0 on Mac OS X Yosemite
This screenshot is from safe mode (started using atom --safe)
@nathansobo If you need any more info please let me know
izuzak commentedon Jul 10, 2015
@muhammad-saleh I think the issue you're seeing is #5975.
muhammad-saleh commentedon Jul 10, 2015
@izuzak Yes, You're right :) thanks
valerymelou commentedon Dec 15, 2015
I have been experiencing the same bug since two days and after changing my syntax theme, I can't reproduce it anymore. The theme was seti. I tried all installed themes and none of them was able to reproduce that bug except seti.
lock commentedon Jan 18, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!