Comments (2)
你好 请问下 重写的撤销/重做是怎么处理撤销时操作的文本索引已变的问题的?
比如入undo栈时是[2,-1],在pop [2,-1]之前有其他人在前面输入了其他字符,那[2, -1]中的2的索引就是错的了。
要每次接收到其他人的消息后更新整个undo/redo栈么?
from blog.
大佬你好,请求有没有表格协作的OT冲突处理相关代码可以学习下
from blog.
Related Issues (18)
- redux源码解读------createStore.js
- LanguageServerProtocol
- 面向 Web 端的通用 LanguageServer 实现 HOT 5
- VSCODE 调试器实现原理及实现在线编辑器的调试功能
- VS Code 插件运行机制
- VS Code Workbench 源码解析
- LSIF TypeScript Chrome 插件
- LSIF 插件的一点心得
- 关于LSP相关问题
- redux源码解读------combineReducers.js
- redux源码解读------applyMiddleware.js
- 用于创建高阶组件的React辅助库---recompose
- React技术栈不完全总结
- 利用PureComponent+ImmutableJS实现Pure-render HOT 2
- 面试题整理
- 数据结构之-链表
- 数据结构之-二叉树 HOT 1
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 blog.