Hi all... Just ran into an interesting possible bug:
Running on OSX, Brief keybindings, python mode.
1. Create a function:
def main():
print "hello world"
2. Collapse the function on the def line.
3. Delete the collapsed line (delete-line). Note that you dont see any code that is in the function (that was collapsed.) As it it deleted the entire block.
4. Save the file.
5. View the with a different editor/viewer. You can see the code, minus the original line that was collapsed.
6. Reloading the file in Slick will return the view back to what the other viewer showed.
Not the behaviour I would expect... I would expect one of two different things when i delete the line:
- The entire collapsed section is deleted (what i expected when i did it initially)
- The code to 'uncollapse' then delete the single line. At least then i would know that extra code was there.
I normally dont use collapse stuff, but tried it out, and found this.