Comments (6)
Hello @jcgueriaud1,
I have some problems recreating your issue. When I start my ace editor and use your given steps, the result is "123456".
Could you maybe tell me the settings you use for the ace editor itself ? (java methods, size, etc.)
Thanks in advance,
David
from ace.
I'm able to reproduce it in the demo, I didn't change the code: https://github.com/F0rce/ace/blob/master/src/test/java/de/f0rce/View.java
I pulled the master branch and run mvn jetty:run.
When I replace a text and type a character the cursor is placed before the character.
If I select the text and type backspace then the text it's working.
I'm using Mac, Java11. I don't know if it matters.
I also tried the demo here: https://ace.c9.io/ and this demo is working
from ace.
super, super wierd.
I'll absolutely have to give it a major investigation. Because I really cant reproduce it. Im on Windows with Java 8 but i'm gonna setup the ace editor on my mac with the same java version as you.
I'll give it high priority
from ace.
Update:
I reverted some of my changes to the frontend in my local test szenario and was able to reproduce the issue, i'm working on a fix :)
from ace.
Thanks a lot for your fast answer.
from ace.
I have discovered, what this issue caused. It has to do with Ace Editor's selectionChange event, which triggers more often than usual. This also seems to be the issue of for the other issue (can't tag on mobile). I'll try to write a debounce version of the selectionChange Event.
Have a great day and sorry for the lack of support,
David
from ace.
Related Issues (20)
- ArrayStoreException: de.f0rce.ace.AceEditor (Vaadin 14.6.1) HOT 3
- Get the absolute index of the cursor and selection (on java side) HOT 1
- Search/Find doesn't work HOT 2
- Themes and modes don't work in production HOT 1
- Search doesn't work HOT 5
- Missing minified JS dependencies when building for production HOT 5
- Bug: Theme update from serverside "setTheme" not working HOT 8
- aceEditor.setPlaceholder("some text"); is not working HOT 3
- Documentation page is offline HOT 2
- Half initialised editor in Chrome/no syntax highlightning HOT 4
- Possibility of vertically growing editor
- AceEditor not working on Vaadin 23 HOT 2
- Regex in ext-language_tools.js wrong HOT 12
- AceEditor not showing theme nor mode in Vaadin 23 with Vaadin context "/myapp" HOT 5
- AceEditor not showing in the UI HOT 15
- AceEditor.getValue() is not up-to-date after addAceChangedListener() listener notified HOT 6
- setCustomAutocompletion does not work with keepCurrentCompleters=true HOT 2
- Adding a label element inside a component. AceEditor.setLabel() HOT 2
- Failed to compile in Vaadin 14.x
- Support for Vaadin 24 HOT 6
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 ace.