dart-lang / dart-pad

An online Dart editor with support for console, web, and Flutter apps
https://dartpad.dev
BSD 3-Clause "New" or "Revised" License
1.7k stars 552 forks source link

When I try to re-write my code after making an error the cursor erases everything coming in front of it. It is the most annoying thing that could possibly happen to this dummy code editor! #2004

Closed HaseebKahn365 closed 3 years ago

HaseebKahn365 commented 3 years ago

What happened?

Steps to reproduce problem

Additional info

Browser

Browser:

Version:

Are you using any extensions/plugins that affect website behavior (particularly those that affect iframes, such as ad blockers)?

Are there any warnings or errors in your browser's JavaScript console? If so, paste them below:

[paste warnings or errors here]

Machine

Operating system:

Version:

Your code

What code was in the editor, if any, when the failure occurred? You can paste it in below:

// Paste code here.

DartPad's output

Did DartPad print anything to the console pane? If so, paste it below:

[paste console output here]

If you were running Flutter code, you can also paste an image of the Flutter output directly into this bug report.

domesticmouse commented 3 years ago

Can you try replicating this issue on CodeMirror.net? This is the editor component that DartPad uses.

HaseebKahn365 commented 3 years ago

I am really sorry! I just figured out the problem. Turns out, I had pressed the ins button on the keyboard which activated the over-type mode. Now that I pressed it again, the insert mode for activated and the problem is fixed now! 👍☺️ On Sep 6, 2021 6:08 AM, "Brett Morgan" @.***> wrote:

Can you try replicating this issue on CodeMirror.net https://codemirror.net/? This is the editor component that DartPad uses.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/dart-pad/issues/2004#issuecomment-913267305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3PD3VEXPL67XXBFLYADJDUAQICLANCNFSM5DO54UQA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.