Opened files fully expanded
-
Hi,
In Notepad++, I have a working memo, and I open the useful parts.
But every day, when I open Notepad++, since an update, the file is completely unfolded. -
@Christian-Hoffmann
Is your “working memo” highlighted in a built-in language (like C++ or Python) or a user-defined language?I know almost nothing about code folding in Notepad++, because I never make use of it. That said, your answer to my above question might help someone more knowledgeable solve your problem.
I’m pretty sure that Notepad++ does not store code folding information to the hard drive. If that’s true, there’s no way for Notepad++ to remember how your code was folded between sessions.
-
Tested v8.8.1 being quite a new and clean portable and reopens
new 1foldedSet as Python language folded at
ifon line 1. Programmatically regarded as line 0.new 1:if a: bsession.xml:<?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="0"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="39" ... snipped ...> <Fold line="0" /> </File> </mainView> <subView activeIndex="0" /> </Session> </NotepadPlus>See the xml tag
Fold. Folding is saved and restored.More details might be needed to solve your issue, like version being used … as
?->Debug info...shows.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login