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

ENTER key + typing.. #45

Closed
ghost opened this issue Apr 21, 2014 · 5 comments
Closed

ENTER key + typing.. #45

ghost opened this issue Apr 21, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2014

Hi Tomas can you do the following:

-type some text.

-hit Enter in the middle of the text..

-now start typing where you hit enter. (position A)..

what I get is that anything I type gets first inserted at position A, but soon after it starts appending the text to the end of the text area.. and sometimes filckers between position A and the end of the paragraph.

Can you confirm?

@TomasMikula
Copy link
Member

I cannot reproduce it. Can you reproduce this behavior using some of the provided demos?

@ghost
Copy link
Author

ghost commented Apr 21, 2014

I'll give it a shot.
On Apr 21, 2014 7:42 AM, "TomasMikula" [email protected] wrote:

I cannot reproduce it. Can you reproduce this behavior using some of the
provided demos?


Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-40940305
.

@ghost
Copy link
Author

ghost commented Apr 21, 2014

I can't reproduce it with your editor. I checked my code extensively, all of my event handling methods for the text area are for querying style at position. They have nothing to with setting the caret. will check more and report back.

@TomasMikula
Copy link
Member

Remember it's always best to provide a simple self-contained (runnable) code to demonstrate the problem.

@ghost
Copy link
Author

ghost commented Apr 21, 2014

Fixed it. It was a line somewhere in the code. Sorry for the false alarm.

This was the case:
I am implementing a comparison view of multiple text areas, sort of a basic overlay. and I want that overlay to update on the change of a text property in the main. i also made that overlay view editable so user can do simple text entry. this caused the caret to jump around in the "source" text area. This is now fixed.

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

No branches or pull requests

1 participant