Comments (1)
Hi Charlie,
I found two indentation-related bugs (06540e3 and 6dc5d31) that were in play here, which caused the hangs and the weird indentation. The reaction to the slash key is caused by the fact that that key is considered 'electric' by the xml mode, meaning it might change the indentation of the current line, so the line is reindented when you type a slash. To turn this off, set the electricChars
option to false.
Let me know whether this solved you problems.
Best,
Marijn
from codemirror5.
Related Issues (20)
- Add syntax highlighting / mode for Splunk (SPL) HOT 1
- Reference actions by commit SHA HOT 1
- Enforce tests to pass before merging HOT 1
- Codemirror will show error when using elements get from getElementsByClassName HOT 1
- [I Have Solution] On iPadOS with a physical keyboard, certain input methods in the editor using codemirror may shift upward HOT 8
- Strange chars inserted on chromium based engines HOT 2
- long text cause match-highlighter.js error
- closed root shadow dom support proposal HOT 2
- Java libreria
- Add dependabot to keep GitHub Actions up-to-date HOT 1
- Add Support for HCL / Terraform HOT 2
- Multiline comment color bug
- C/C++ code comment highlighting bug
- Possible memory leak in autorefresh.js
- Duotone Theme Color contrast is not up to WCAG standards for comments HOT 1
- Broken/unusable editor after foldAll command on specific file
- Syntax highlighting for GDScript HOT 1
- Crystal HEREDOCs Cause Freezing HOT 1
- Can you provide the function of indenting lines in the code, just like vscode? Thank you. HOT 1
- Codemirror data overload and lagging problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codemirror5.