[Github-comments] [geany/geany] Feature Request: Remember made code-foldings (#1587)

JanAxelsson notifications at xxxxx
Mon Oct 7 21:15:39 UTC 2019


 GeanyNumberedBookmarks works well **except** when working in Projects.  

It would be a great feature if it worked always.

I understood that one issue was that if a file had changed externally, the folding would be unreliable.  You asked for suggestions somewhere in this forum (https://github.com/geany/geany/issues/793), so I have two suggestions which you may very well have contemplated before :
1) Save a hash of the file together with the state information about the fold points.  If hash doesn't match file when opened,  don't honor saved fold status
2) Alternatively, save fold point together with the text of its row, and somehow match this with the opened file.  I guess this is much harder than 1), and I think 1) would suffice

Thanks for your work with this great eidtor

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1587#issuecomment-539207660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191007/f16878a2/attachment.html>


More information about the Github-comments mailing list