I use code folding heavily for my To Do lists through the use of EnableCFByIndent. It is a fabulous feature. However, there appears to be a bug.
Quite often when manipulating text, especially with cut/paste I find that the code folding mechanism gets out of sync (loses it's mind) and associates lines which should not be connected (or vice versa).
While it would be nice if this didn't happen, my interest with this post is learning whether there is any simple way to get UltraEdit to reevaluate my text file and reset the indenting. Typically, I just add and then delete some carriage returns, but that can get annoying. I have also found that selecting all text and then cut/paste will reset everything correctly, as will expanding and then collapsing all lines will work as well. But none of those are elegant and all of them have unwanted side effects.
Any ideas out there?
Quite often when manipulating text, especially with cut/paste I find that the code folding mechanism gets out of sync (loses it's mind) and associates lines which should not be connected (or vice versa).
While it would be nice if this didn't happen, my interest with this post is learning whether there is any simple way to get UltraEdit to reevaluate my text file and reset the indenting. Typically, I just add and then delete some carriage returns, but that can get annoying. I have also found that selecting all text and then cut/paste will reset everything correctly, as will expanding and then collapsing all lines will work as well. But none of those are elegant and all of them have unwanted side effects.
Any ideas out there?