Comments (4)
I got solution.
I have found that only first tab was having "undo/redo" working and other tabs were not.
then i found that one node is missing in other tabs :
"editor.ternServer.docs.tab2.doc.$undoManager"
then i got the idea to add undoManager in all the tabs.....and other thing that we can save undoManager stack data in array and can restore on selecting other tab.
to add UndoManager to tab :
editor.getSession().setUndoManager(new ace.UndoManager());
to put undo stack data of current tab in array :
undoStacks[currTabNumber] = editor.getSession().$undoManager;
to restore UndoManager stack data to current tab :
editor.getSession().$undoManager=undoStacks[currTabNumber];
thanks
from ace.tern.
Is this bug for Caret-T?
from ace.tern.
it will produce when you run tabdemo.html
from ace.tern.
tabdemo.html is not complete (not even close) and I have no plans for finishing it
from ace.tern.
Related Issues (20)
- TODO: Add Tern configurations to Caret-T HOT 1
- TODO: Add Beautify Configuration to Caret-T
- Files getting 'damaged' HOT 2
- Beautify extension HOT 2
- Memory leak
- caret-T not available on chrome webstore HOT 2
- How should this be integrated with ACE. HOT 3
- Suggestions for custom methods
- Support other languages HOT 1
- Update to work with latest version of Ace HOT 3
- Add hidden variables and functions as hint
- Is this using the newest version of ACE?
- Chrome Apps No Longer Supported HOT 3
- disappearing tabs
- file resized to few lines after re-launching caret-t
- Reading JSDoc style comment from external javascript files
- Class objects methods and variables not being found
- Ace.Tern with VueJs?
- Cannot read properties of undefined (reading 'getData')
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.tern.