Comments (1)
Thanks for asking. Here's what I just tried (to check whether it's working for me)
On OSX:
we file_name
- type "one" (or any text), ctrl+s, ctrl+q
- reopen the file with
we file_name
- ctrl+z to undo (works), ctrl+y to redo (works)
Please let me know if the above works for you (i.e. it may take something more for me to see the issue - it's super helpful to see the issue for me to fix it).
What's happening to make it work:
- When ci_edit starts up it (tries to) creates a directory in the user's home directory called ".ci_edit".
- It will then save undo information at "$HOME/.ci_edit/history.dat".
- The code that saves the file history (undo info) is in "ci_edit/app/history.py" (if you're a programmer you're invited to have a look, if you're not a programmer no worries - I'm happy to help)
- Something that's a bit iffy is that the file history is stored entirely by the file contents (hash). So if two files have the identical content they are considered the same file in the eyes of the undo history. If you're using two files with identical content and one seems to lose undo information, this could be the issue (and would be something I'd want to fix/change).
from ci_edit.
Related Issues (20)
- Executing full_test when inside tools directory gives error HOT 1
- Confirmation on quit HOT 1
- Delay in updation of status bar
- Fuzzy search inside the current work directory HOT 3
- AttributeError: module 'profile' has no attribute 'run' HOT 12
- Add ctags support HOT 2
- Add language server support HOT 1
- Move unit tests to the appropriate directory HOT 1
- Add a command to split the editor horizontally HOT 2
- Add a package to pypi HOT 1
- Is there a way to highlight the line in case of a syntax error? HOT 1
- 'str' object has no attribute 'decode' , Chinese user HOT 4
- Is there anyone who is working on "user customizable color scheme" ? HOT 7
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 0: invalid continuation byte HOT 5
- Running ci_edit under Python 2 HOT 1
- py formatter needs prefs
- Cannot open file. Ubuntu 18.04 HOT 3
- How to remove auto-indentation? HOT 3
- Red highlighted words all over the place 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 ci_edit.