Comments (6)
I've moved a few hundred lines to another file and folding is still misbehaving. I've attached a screenshot. I do not think there is anything wrong with the syntax. JSHint passes with no errors.
from brackets-code-folding.
oh that looks interesting. I think it might have to do with saving and restoring line folds ...
How many lines of code do you have in your file?
Could you copy the contents of the file onto a new file and tell me if the fold marks are then rendered correctly?
Also what happens when you use Shift-Alt-1 (this should expand all code regions)?
from brackets-code-folding.
I broke up the code into many files now and I am not seeing the folding issue anymore. My guess is that updating to the latest version of Brackets did not clear out any folds which were stored previously.
from brackets-code-folding.
Thanks for the update. Let's keep and eye on it just incase it resurfaces.
from brackets-code-folding.
So I have been able to reproduce similar issue.
- Load any file and fold some code regions.
- Add or remove a number of lines above the folded code regions.
- Save and close the file so that it is now removed from the working files list.
- Reopen the file.
Result is that the folded code regions are restored wrongly. This is because the extension does not currently update the folded regions correctly.
A fix is in progress.
from brackets-code-folding.
Excellent. I see there is a new Brackets update available. I look forward to your update and the new release.
from brackets-code-folding.
Related Issues (20)
- code folding breaking on titled for loops HOT 3
- not work fine in this case, javascript
- Use character '|' on spanish keyboards HOT 2
- wrong fold marks when editing or removing folded code region
- inaccurate fold marks added to document when a folded code region is removed
- Not working at all since last update HOT 6
- Error using latest release HOT 8
- Uncheck "Enable code folding" from the settings issue HOT 4
- Beginning of lines in files are occluded HOT 13
- Version 0.3.4 doesn't fold HOT 3
- Ctrl+Shift+arrow causes error and weird behaviour HOT 4
- version not compatible :( HOT 4
- VI support for code folding HOT 2
- Not updated for 1.5 HOT 1
- What about Jade folding? HOT 1
- (imho) code-folding overloads state.json? HOT 2
- Unable to install extension HOT 2
- shortcut on W7
- Not compatible with current Brackets Version. HOT 1
- sprint 14
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 brackets-code-folding.